RESTful API design with Node.js
Adnan Rahić

Follow your blog and I found this error:

<!DOCTYPE html>
<html lang="en">
 <meta charset="utf-8">
 <pre>Cannot POST /users</pre>

My directory structure is as follows:

Restapi(root directory)

— User(directory)

— — User.js

— — UserController.js

— app.js

— db.js

— server.js

Please guide me to solve this otherwise It is awesome.


One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.