An open API service indexing awesome lists of open source software.

https://github.com/serenasensini/express.js-with-mongoose

An app to show how to build a simple API implementation with Express.js and MongoDb.
https://github.com/serenasensini/express.js-with-mongoose

expressjs mongodb mongoose nodejs rest-api

Last synced: 3 months ago
JSON representation

An app to show how to build a simple API implementation with Express.js and MongoDb.

Awesome Lists containing this project

README

          

# Express.js with MongoDb

An app to show how to build a simple API implementation with Express.js and MongoDb.

## Instructions

Follow the #step indicated through the hashtag and change the informations based on your schema and database logic.

To run the application, execute `npm start`.

N.B.: The `api` uri preceed all API endpoints and the following endpoints are currently available
* GET `/api/contacts`
* POST `/api/contacts`
* GET `/api/contacts/:id`
* PUT `/api/contacts/:id`
* DELETE `/api/contacts/:id`

## Versions
* npm: 6.14.9
* Node.js: v14.15.3
* MongoDB: 4.4.3