nodejs-express-mongodb-api

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i nodejs-express-mongodb-api

Weekly Downloads

2

Version

1.0.1

License

none

Last publish

Collaborators

  • shoaibuddin