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

https://github.com/sanengineer/expressjs-mongodb

Create Simple Backend CRUD Application (ReSTAPI) With NodeJS, ExpressJS, And MongoDB
https://github.com/sanengineer/expressjs-mongodb

crud-nodejs crud-nodejs-mongodb expressjs expressjs-framework mongodb morgan nodejs nodemon swagger swagger-ui-express

Last synced: 3 months ago
JSON representation

Create Simple Backend CRUD Application (ReSTAPI) With NodeJS, ExpressJS, And MongoDB

Awesome Lists containing this project

README

        

# Create Simple Backend CRUD Application (ReSTAPI) With NodeJS, ExpressJS, And MongoDB

This project I used swagger for documentation and testing ReSTAPI. You don't need post for test your ReSTAPI, I have created example value (include on [swagger_api.json](https://github.com/sanengineer/expressjs-ejs-mongodb/blob/master/package.json)).

## 📦️ Prequisite:

- NodeJS 12.18.4 LTS (Recomended)
- MongoDB

## 📢️ List Package Node Modules For Production:

- ExpressJS
- Swagger UI Express
- Mongoose
- Morgan

## ⚗️ List Package Node Modules For Development

- Dotenv
- Nodemon

## 📝️ Getting Started Development

Let's fork and clone this project to your local machine!

$ cd expressjs-mongodb

$ npm install

$ touch .env

Configure .env file to your liking. Example:

`DATABASE_URL="mongodb://localhost:27017"`

$ npm run dev