1.0.1 • Published 9 years ago

nodejs-express-mongodb-api v1.0.1

Weekly downloads
13
License
-
Repository
github
Last release
9 years ago

Building a RESTful API in Node, Express and MongoDB

Using Express 4.0 Router to build an API, Extended version from scotch.io's code with multiple objects/routes

Requirements

Installation

  • Clone the repo: git clone git@github.com:shoaibuddin/nodejs-express-mongodb-api.git
  • Install dependencies: npm install
  • Start the server: node server.js
  • Make sure to create account for mongoDB @ mongolab.com for Database
  • Update credentials and db path in server.js mongoose.connect....

Testing the API

Test your API using Postman

Credit / Thanks

Thanks to scotch.io for awesome tutorial.

Demo URL on Heroku

Bitdeli Badge