CodeVetter · Repo Unpack · Feature catalog
nestjs/nest
The principal user is an application developer composing modules, providers, controllers, and transport handlers. The inspected examples expose HTTP resource operations, socket messages, TCP request-response, database repositories, Swagger documentation, and GraphQL configuration. Framework APIs add validation, response handling, route diagnostics, and security helpers. This catalog covers inspected surfaces rather than every sample or public export.
- The cats sample exposes POST /cats, GET /cats, and GET /cats/:id; the last handler parses and logs an ID rather than retrieving a record.
- The TypeORM sample exposes create, list, lookup, and delete operations under /users.
- EventsGateway emits three events responses for the events message and echoes identity message data.
- The microservices sample runs HTTP on port 3001 alongside TCP; its HTTP handler sends a sum command and its MessagePattern handler reduces numeric input.
- The Swagger sample constructs a bearer-auth documented Cats API and mounts its generated documentation at api.
- The schema-first GraphQL sample selects ApolloDriver, loads .graphql definitions, transforms an upper directive, and enables subscription handlers.
- ValidationPipe supports transformation, custom validator and transformer packages, custom exception creation, and list or grouped validation errors.
- NestApplication exposes CORS, cross-origin CSRF protection, security headers, and API versioning configuration.
- RouterResponseController supports ordinary replies, redirects, template rendering, and observable result conversion.
- Route registration can collect diagnostics and sort by specificity before applying a conflict policy and registering routes.