/nestjs-crud-filters

Nest.js CRUD with onion architecture

Primary LanguageTypeScript

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