Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jayvirrathi/microservices
NodeJS Micro Services With Docker
https://github.com/jayvirrathi/microservices
docker docker-compose dockerfile express microservice mongodb nodejs
Last synced: 3 days ago
JSON representation
NodeJS Micro Services With Docker
- Host: GitHub
- URL: https://github.com/jayvirrathi/microservices
- Owner: Jayvirrathi
- Created: 2020-08-15T08:23:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-27T07:29:14.000Z (over 3 years ago)
- Last Synced: 2023-03-07T20:03:56.333Z (over 1 year ago)
- Topics: docker, docker-compose, dockerfile, express, microservice, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 64.5 KB
- Stars: 31
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express Microservice API Starter with MongoDB
Includes API Server utilities:
- [concurrently](https://www.npmjs.com/package/concurrently)
- Promise based HTTP client for the browser and node.js
- [axios](https://www.npmjs.com/package/axios)
- Run multiple commands concurrently
- [mongoose](https://www.npmjs.com/package/mongoose)
- Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment
- [morgan](https://www.npmjs.com/package/morgan)
- HTTP request logger middleware for node.js
- [helmet](https://www.npmjs.com/package/helmet)
- Helmet helps you secure your Express apps by setting various HTTP headers. It's not a silver bullet, but it can help!
- [dotenv](https://www.npmjs.com/package/dotenv)
- Dotenv is a zero-dependency module that loads environment variables from a `.env` file into `process.env`Development utilities:
- [nodemon](https://www.npmjs.com/package/nodemon)
- nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.## Setup
```
npm install
```## Start
```
npm run start
```## Development
```
npm run dev
```## Docker
### comment all variables in envs for docker build
```
docker-compose up --build
```