Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.08 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.08 KB

NodeJsWithMongoDb

Scope

This tutorials explains how to create REST api using express js, node js & mongodb. After this tutorial you will be able to create basic get and post REST api services using node & mongo.
Put, Patch method will be updated soon in the same tutorials

What is gulp?

Gulp is basically a watcher. If you perform any change to your application, then you have to stop and restart service again and again. Gulp takes this reponsibility for you. It watches if there is some changes in your application and rebuild it automatically. You can review gulp settings in gulpfile.js

What is bookModel.js?

This file is a structure of your mongodb document. It should be same as mongodb document structure. You can relate it with entity framework in .Net.

How to run?

Download repository or clone it using git bash. Navigate to folder in command prompt(windows). Then run "npm install" to download dependencies. After that "node app.js". Congrats...your service is active now.

Happy to serve you....Thanks