A progressive Node.js framework for building efficient and scalable server-side applications.
A Nest framework TypeScript starter repository.
npx degit https://github.com/Xavier577/nestjs-restapi-boilerplate.git <your-project-name>
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
.
├── README.md
├── nest-cli.json
├── package.json
├── prisma
│ └── schema.prisma
├── src
│ ├── adminui
│ │ ├── options.ts
│ │ └── resource.builder.ts
│ ├── api
│ ├── app.module.ts
│ ├── common
│ │ ├── decorators
│ │ │ └── match.decorator.ts
│ │ ├── enums
│ │ ├── errors
│ │ ├── interceptors
│ │ │ ├── error.interceptor.ts
│ │ │ ├── response-logger.interceptor.ts
│ │ │ └── serializer.interceptor.ts
│ │ ├── interfaces
│ │ ├── middlewares
│ │ │ └── request-logger.middleware.ts
│ │ ├── utils
│ │ │ └── request-logger.parser.ts
│ │ └── validators
│ │ └── env.validator.ts
│ ├── database
│ │ ├── database.module.ts
│ │ └── prisma.service.ts
│ ├── main.ts
│ ├── swagger.ts
│ └── templates
├── test
│ ├── app.e2e-spec.ts
│ └── jest-e2e.json
├── tsconfig.build.json
├── tsconfig.json
└── yarn.lock
# 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.