Tutorial to interface Node.js with MongoDb using Native Mongo driver.
JavaScript
Latest commit 0afe8d5 Aug 20, 2015 @codeforgeek Update README.md
Permalink
Failed to load latest commit information.
models going open source Aug 19, 2015
node_modules going open source Aug 19, 2015
README.md Update README.md Aug 20, 2015
Server.js going open source Aug 19, 2015
package.json going open source Aug 19, 2015

README.md

Build RESTful API using Node and MongoDB

Installation :

Download or clone the code.

Run MongoDB on default instance.

Run program by typing npm start on terminal.

Testing REST api :

Open up REST simulator ( Postman recommended )

Hit following URL's :

  • /GET localhost:3000
  • /GET localhost:3000/users
  • /POST localhost:3000/users - send data in JSON format ( Visit tutorial to know format )
  • /PUT localhost:3000/users/:id

- /DELETE localhost:3000/users/:id

Tutorial link :

https://codeforgeek.com/2015/08/restful-api-node-mongodb/