REST API with MVC pattern using Node.js, Express.js, MongoDB [Backend Server] as Handling the errors.
Before clone the repo, you must have node.js on your device.
$ git clone https://github.com/devkishor8007/do_mvc.git
$ npm install
PORT = 5000
MONGO = mongodb-url
$ node server.js
GET /api/v1/data
GET /api/v1/data?select=name&sort=name
GET /api/v1/data?select=name
GET /api/v1/data?sort=-name
GET /api/v1/data/:id
POST /api/v1/data
PUT /api/v1/data/:id
DELETE /api/v1/data/:id