π₯ Nest boilerplate to create projects as fast as possible π₯
- The modules are plural (module-name.module.ts)
- The controllers are plural and his path too (controller-name.controller.ts)
- The services are plural (service-name.service.ts)
- The entities are singular (entity-name.entity.ts)
βββ dist/
βββ docker-compose.yml
βββ Dockerfile
βββ nest-cli.json
βββ package.json
βββ package-lock.json
βββ README.md
βββ src/
β βββ app.module.ts
β βββ main.ts
β βββ modules/
β βββ <module-name>/
β β βββ <module-name>.module.ts
β β βββ dtos/
β β βββ entities/
β β βββ services/
β β βββ interfaces/
β βββ authentication/
β β βββ authentication.controller.ts
β β βββ authentication.module.ts
β β βββ constants/
β β βββ decorators/
β β βββ dtos/
β β βββ encrypt/
β β βββ guards/
β β βββ services/
β β βββ strategies/
β βββ note
β βββ dtos/
β βββ interfaces/
β βββ note.controller.ts
β βββ note.entity.ts
β βββ note.module.ts
β βββ note.service.ts
βββ test/
β βββ app.e2e-spec.ts
β βββ jest-e2e.json
βββ tsconfig.build.json
βββ tsconfig.json
βββ <module-name>/
β βββ <module-name>.module.ts
β βββ dtos/
β βββ entities/
β βββ services/
β βββ interfaces/
- Author - Cristian Sotomayor @csdev
If youy want to use snake-case go to this package
There is a docker-compose.yml
file for starting Docker.
docker-compose up
After running the sample, you can stop the Docker container with
docker-compose down
docker-compose up -d postgres
docker-compose ps
docker-compose down
A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ 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
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil MyΕliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.