Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/medfreeman/dg-sample-back
https://github.com/medfreeman/dg-sample-back
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/medfreeman/dg-sample-back
- Owner: medfreeman
- License: mit
- Created: 2018-11-26T12:42:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T23:57:20.000Z (about 6 years ago)
- Last Synced: 2024-11-04T23:42:04.244Z (about 2 months ago)
- Language: JavaScript
- Size: 271 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dg-sample-back
## Environments
Create a `.env` file at the root of the project, with the following contents depending on the environment.
### Development
```
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
NODE_ENV=development
```### Production
```
NODE_ENV=production
```## Installation
```bash
yarn install
```## Docker image build
```bash
yarn build
```## Docker container start
```bash
yarn start
```