Simple TODO list backend
Set up required environment variables e.g. by copying or renaming .env.example
file to .env
and adjusting its values according to your setting.
Change JWT_SECRET value to some long enough (at least 32 characters) random string.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Generated Swagger API documentation can be found under /api endpoint
To use features provided by Swagger CLI plugin, you might need to run
$ npm run start -b swc --type-check
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Based on NestJS
Nest framework TypeScript starter repository.