NestJS - yibinericxia/documents GitHub Wiki

Introduction

Nest (NestJS) is a framework based on Node.js for building server-side application with the architecture inspired by Angular. If you are familiar with Angular & Spring framework, it should be quite easy to understand its annotation and design structure.

Useful packages

  1. @nestjs/config: a package (using dotenv internally) provides ConfigModule & ConfigService for configuration management
  2. @nestjs/passport: a package for authentication
  3. @nestjs/graphql: a package for GraphQL
  4. @nestjs/event-emitter:a package for events
  5. @nestjs/swagger: see below

API documentation

Like other service application framework, we can also use Swagger to generate API documents using

npm i --save @nestjs/swagger swagger-ui-express

Reference