Service Description.
To use the required Node.js version, it is recommended to use nvm (Node Version Manager).
$ nvm useThen install the required dependencies.
$ yarn install$ yarn start$ yarn test
# test coverage
$ yarn test:covThe tests will spin up a local database, run the migrations, and run the tests against the local database. This requires Docker to be installed on your machine.
$ yarn db:migrate-create my first migrationFile xxx_my-first-migration.js in migrations folder (which will be created if not exist).
node-pg-migrate instructions here
Pino is used as the main logger. To use the logger, inject it where it is needed. ex.: import { Logger } from 'nestjs-pino'; constructor(private readonly logger: Logger) {}
API documentation is generated using Swagger.