Requires pnpm
instead of [npm
].
$ pnpm install
MongoDB and NATS are required and provided with docker-compose
.
$ docker compose up database nats
To run everything, use
$ docker compose up database nats
Otherwise, choose one of the following:
# 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