Nest Starter project with environment config, typeorm and nestjs-i18n integration
git clone https://github.com/seeren/nestjs-starter.git
Dockerfile is adapted for arm arch adapt as needed
# Build then run image
docker-compose up -d
Container is named nestjs-starter
to execute commands
# Execute zsh
docker exec -it nestjs-starter zsh
# install dependencies
npm install
# development
npm start
Docker and modules setup are stored in .env
, .production.env
and .test.env
Typeorm use configuration files
# execute orm
npm run typeorm
# create entity
npm run entity:create <path-to-entity>
# create empty migration
npm run migration:create
# generate migration
npm run migration:generate
# execute migration
npm run migration:run
# cancel migration
npm run migration:revert
Translation fallback language is in configuration files
I18N_FALLBACK=en
This repo is MIT licensed.