Nest framework TypeScript starter repository.
$ npm install# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov- Postgres 16.1
- Node.js 20.10.0
- clear the postgres database of the application
npm run migration:runnpm run migration:generate
- clear the postgres database of the application
npm run migration:runnpm run migration:create- write code to the created migration file
npm run migration:run
npm run migration:revert
- Аутентифицируйтесь в Container Registry
docker build . -t cr.yandex/<идентификатор_реестра>/waisy-backend-api:<version>docker push cr.yandex/<идентификатор_реестра>/waisy-backend-api:<version>
- Put all config services to
src/config/config.module.ts - Put all env validation schemas to
src/config/env-validatiob-schemas.ts - Put all resolvers to
src/schema-generator.script.ts - Create/generate migrations if it needs
- If you updated nodejs, change nodejs version in
Dockerfile,package.json,.github/workflows/node.ymland.devcontainer - If you updated postgres, change
.github/workflows/node.yml npm run format:checknpm run link:checknpm run testnpm run test:e2e- Push commit