nestjs
Installation
SKILL.md
NestJS
NestJS is a progressive Node.js framework for building scalable enterprise server-side applications using TypeScript, dependency injection, and modular architecture.
When to Use
- Enterprise Node.js Backend Microservices: Architecture inspired by Angular with modules, providers, and dependency injection.
- Domain-Driven Modular Applications: Structuring large codebases with clear domain separation and clean layering.
- Multi-Transport Microservices: Seamlessly switching between HTTP, gRPC, RabbitMQ, Kafka, and Redis transports.
- Type-Safe REST & GraphQL Backends: Combining TypeORM/Prisma, class-validator, and auto-generated Swagger documentation.
Quick Start
// cats.controller.ts
@Controller("cats")
export class CatsController {
constructor(private catsService: CatsService) {}