- VS Code devcontainers for consistent and portable development
- Semantic versioning and release via request-please
- Custom typesafe environment configuration module
- Custom application logging (uses nest-winston and optional winston-loki)
- Custom eslint and prettier linting/formatting
- Linting precommit rules via husky
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# lint
$ yarn lint
# format
$ yarn format
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
On your forked repository you have to add this template repository as a remote.
git remote add template https://github.com/j3ko/nestjs-boilerplate.git
Run git fetch to update the changes
git fetch --all
Then is possible to merge updates from this template to your repository.
git merge template/main --allow-unrelated-histories
When debugging, "Cannot find module bootloader.js" is encountered
- Open the command palette (Ctrl+Shift+P), disable and then re-enable auto-attach
- Reload the terminal