Skip to content

vc-vishakha/node-crud-mongodb

Repository files navigation

NodeJS CRUD Project with MongoDB & Express

  • Node app created using express and mongodb
  • User CRUD features
  • Nodemon for development monitor script

Requirements

For development, you will only need Node.js and a node global package, NPM, installed in your environment.

Install

$ git clone https://github.com/vc-vishakha/node-crud-mongodb
$ cd node-crud-mongodb
$ npm install

Running project

  • Start server with npm start command

Available APIs

  • Health check - Method GET - /health
  • User
    • List - Method GET - /user/list

    • Create - Method POST - /user

      Params: { "name": "Lorem ipsum", "email": "[email protected]", "phone": "+911297346465", "age": 22 }
    • Update - PATCH - /user

      Params: { "id: "ID", "name": "Lorem ipsum", "email": "[email protected]", "phone": "+911297346465", "age": 22 }
    • Delete - Method DELETE - /user/:id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published