What problem does it solve?
Provides senior-level guidance and ready-to-use patterns for designing, implementing, and testing modular NestJS TypeScript backends so teams can deliver reliable APIs with consistent architecture and best practices.
Core Features & Use Cases
- Modular Architecture & DI: Design modules, providers, and dependency injection patterns for scalable services.
- DTOs & Validation: Create request/response DTOs with class-validator and class-transformer for strong input validation.
- Auth & Security: Implement JWT/Passport authentication, guards, and secure error handling.
- Database & Testing: Integrate TypeORM or Prisma and provide unit and E2E testing patterns with Jest and Supertest.
- Use Case: Scaffold a users module with controller, service, DTOs, database model, authentication, Swagger docs, and unit tests for a production-ready API endpoint.
Quick Start
Use the nestjs-expert skill to generate a modular NestJS module with controller, service, DTOs, Swagger decorators, and basic unit tests for a "users" feature.