- Docker ^20.x
- Node ^16.x
Install dependencies:
$ npm install
- With docker running, execute:
$ npm run db:dev:up
-
Make sure to have the .env variables set
-
Run migrations with:
$ npm run prisma:migrate:dev
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Access the latest snapshot of the API's Postman collection using this link
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov