An example piece of source code (user-management-system) of API back end written in NestJS.
$ 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
MailerService in development environment without sending real email to recepient with credentialsof test account in MAILER_TRANSPORT env var. Navigate to the server and login with these credentials.
PORT
HOST
APP_NAME
DATABASE_URL
MAILER_TRANSPORT
RATE_LIMIT_WINDOW_MS,
RATE_LIMIT_MAX,
Procfile:
web: npm run start:prod
# on master branch
heroku git:remote -a sz-nest-api
git push heroku master
In heroku UI promote app through deployment pipeline
SeedZoo
- Max Vresch ([email protected], LinkedIn)
- Roman Kunitsyn ([email protected], LinkedIn)