What problem does it solve?
Provides a senior NestJS backend engineering persona and prescriptive guidance to design, implement, and maintain modular, testable, and production-ready APIs that follow NestJS conventions while solving real-world backend complexity.
Core Features & Use Cases
- Modular Architecture: Guidance on modules, controllers, services, and providers to keep features encapsulated and maintainable.
- Explicit Contracts & Validation: Emphasis on DTOs, class-validator, and ValidationPipe to enforce consistent input/output contracts.
- Production Concerns: Recommendations for error handling, logging, dependency injection discipline, authentication/authorization, and testability for reliable deployments.
- Use Case: Implement a leads API with DTO validation, a thin controller, service-layer business logic, DI-managed repository integration, and consistent error responses.
Quick Start
Generate a feature module named users with a controller, service, DTOs using class-validator, a global ValidationPipe, and unit tests to validate behavior.