A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
# database
$ npm install --save @nestjs/typeorm@8.0.3 typeorm@0.2.41 pg
# configuration .env
$ npm i --save @nestjs/config
# .env dotenv
$ npm i dotenv
# swagger
$ npm install --save @nestjs/swagger swagger-ui-express
# body-parser
$ npm i body-parser
# express basic auth
$ npm i express-basic-auth
# validations pipe
$ npm i --save class-validator class-transformer
# auth
$ npm install --save @nestjs/passport passport passport-local
$ npm install --save-dev @types/passport-local
$ npm install --save @nestjs/jwt passport-jwt
$ npm install --save-dev @types/passport-jwt
$ npm i passport passport-http @nestjs/passport --save
$ npm i @types/passport @types/passport-http --save-dev
# axios
$ npm i --save @nestjs/axios
$ npm i axios
$ 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:covNest 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.