Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 764 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 764 Bytes

Nest.js CRUD with onion architecture

API documentation

See Redoc

Running the app in Docker environment

This mode includes PostgreSQL, Nginx, Cadvisor, Prometheus, Loki, Grafana, Promtail and other stuff for monitoring the infrastructure (like node-exporter, nginx-exporter, postgres-exporter). But first, you have to rename .env.sample to .env and filling empty values.

# docker-compose up --build -d 

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov