The microservice start kit is based on Nestjs. Nestjs Documentation can be found here. The default database is postgres.
$ yarn
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
To create a new empty migration file under src/database/migrations
yarn create-migration -n CreateUserTable
To generate a migration based on schema changes or addition of new entity
yarn gen-migration -n CreateUserTable
To run migration
yarn migrate