- framework TypeScript starter repository(Nest)
- ES2017 latest features like Async/Await
- Uses npm
- Express + MongoDB (Mongoose)
- Consistent coding styles with editorconfig
- Docker support
- Git hooks with husky
- Authentication and Authorization with passport
- Continuous integration support with Github Actions
- Node v16.6+ or Docker
- npm
$ npm install
$ cp .env.example .env
# run containers locally
$ npm run docker:dev
# run container in production
npm run docker:prod
# run tests
npm run docker:test
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
$ npm run start:prod
# lint code with ESLint
$ npm run lint
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# run lint and tests
$ npm run lint