paqad-ai
Version:
Spec-driven development framework — AI agents that think before they type
7 lines (5 loc) • 415 B
Markdown
# NestJS Conventions
- Keep modules cohesive: controller, service, DTOs, and entities should live together by feature.
- Validate all request and message payloads with pipes or schema validation before business logic runs.
- Treat guards as authorization boundaries, not just authentication wrappers.
- Keep interceptors and exception filters reusable and avoid leaking entity internals directly from controllers.