https://github.com/acloudfan/REST-API-Course-V2
Checkout the course on UDEMY: https://www.udemy.com/course/rest-api/?referralCode=ADE763DAA790A3F0D211
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/
Recent Change - 12/25/2017
- Data updated for the testing. ** Instead of providing the User/Password now the URI for DB is used in the format:
mongodb://:@SERVER:PORT/DB-NAME
-
Clone this project on local file system
-
Pre-requisistes a. Understanding of node/npm b. An instance of MongoDB available either locally or remotely c. Import 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