add cursor

This commit is contained in:
2025-09-26 19:49:56 +07:00
parent ae7f2cd114
commit 5deae69553
54 changed files with 2763 additions and 6644 deletions

View File

@@ -0,0 +1,12 @@
---
description: Prescribes the structure and components within NestJS modules, including controllers, models, DTOs, and services, ensuring API encapsulation.
globs: src/modules/**/*.*
---
- One module per main domain/route.
- One controller for its route.
- And other controllers for secondary routes.
- A models folder with data types.
- DTOs validated with class-validator for inputs.
- Declare simple types for outputs.
- A services module with business logic and persistence.
- One service per entity.