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

https://github.com/kartikmehta8/mongo-rest-api

A Dummy REST API for your next project where you can GET, POST, UPDATE & DELETE Posts. Post contains the unique ID, Name, Description, and Date. Supports CORS.
https://github.com/kartikmehta8/mongo-rest-api

expressjs mongodb nodejs restful-api

Last synced: 3 months ago
JSON representation

A Dummy REST API for your next project where you can GET, POST, UPDATE & DELETE Posts. Post contains the unique ID, Name, Description, and Date. Supports CORS.

Awesome Lists containing this project

README

        


BANNER

## How to use?
- Create a `.env` file at the **ROOT** of the folder. Create a global variable `DB_CONNECTION_URL` and store your unique URL.
```
DB_CONNECTION_URL =
```
- Open the terminal at the **ROOT** of the folder. Run the following command,
```
npm install
```
- After all the dependencies have been installed successfully, run the server.
```
npm start
```