Sample for nestjs
- Login & Authentication(JWT)
- CQRS, DDD
- Sending Email (nodemailer)
- TypeORM
- Configuration
- Task Scheduling
- Typeorm migration
- Admin-bro
$ npm install
make local.env
EMAIL_SERVICE=
EMAIL_AUTH_USER=
EMAIL_AUTH_PASSWORD=
EMAIL_BASE_URL=
GOOGLE_CLIENT_ID=
GOOGLE_SECRET=
SERVICE_URL=
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# test coverage
$ npm run test:cov
# create migration file
$ npm run build
$ npm run migration:create Init
# generate migration file
$ npm run build
$ npm run migration:generate MIGRATION_NAME