Skip to content

Made a simple nodeJs project with free 512MB mongodb database which server restful APIs via ExpressJs. Did handle the CORS, used 'async' and 'await' for response mapping. Tried doing some basic documentatiom

Notifications You must be signed in to change notification settings

codeaskush/restful-api-express-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs + MongoDB + Mongoose + Express

Sample application to demonstrate the CURD operation with Nodejs and MongoDB

Steps to start the application

  • git clone
  • cd into project path 'restful-api-express-mongodb'
  • npm install
  • npm start (nodemon)

You can connect you own db from mLab

  • goto mLab.com
  • make an account (easy steps)
  • make your database user
  • copy your connection url into .env - DB_CONNECTION
  • remember to give network access to your db as public

Markdown Monster icon

About

Made a simple nodeJs project with free 512MB mongodb database which server restful APIs via ExpressJs. Did handle the CORS, used 'async' and 'await' for response mapping. Tried doing some basic documentatiom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published