Created as part of the course on "REST API". Demonstrates the setting up of URI for the REST API
http://www.acloudfan.com/learn-REST-API
Following node practices defined here: https://github.com/felixge/node-style-guide https://blog.risingstack.com/node-js-best-practices/
-
Clone this project on local file system
-
Pre-requisistes a. Understanding of Node/Npb. Understanding of Node/Npm b. An instance of MongoDB available either locally or remotely c. Imported the data available in the repository
-
Run > npm install Deploys the packages express body-parser mongoose
-
create the project
-
git init
-
add .gitignore
-
npm init
-
npm install the packages (express,body-parser,mongoose)
-
create folder = models