backend-api-dev
SKILL.md
Backend API Development
Instructions
When developing backend APIs for the quinipolo project:
-
Structure
- Controllers handle HTTP requests/responses only
- Services contain business logic and database operations
- Routes define endpoint paths and middleware
- Keep controllers thin, services thick
-
File Organization
- Controllers:
quinipolo-be/controllers/(PascalCase, e.g.,NotificationController.js) - Services:
quinipolo-be/services/(PascalCase, e.g.,NotificationService.js) - Routes:
quinipolo-be/routes/(lowercase, e.g.,notifications.js)
- Controllers: