To run everything for non-development, use
$ docker compose up
Requires pnpm
instead of npm
.
$ pnpm install
MongoDB and NATS are required and provided with docker-compose
.
$ docker compose up database nats
Choose one of the following ways to run the server:
# development
$ pnpm run start
# watch mode (recommended)
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov