Idéal pour
- Partir d'un prompt structuré et réutilisable plutôt que d'une conversation vierge.
- Adapter le prompt à vos propres données tout en conservant l'intention d'origine.
Génère des routes d'API CRUD backend complètes avec authentification, gestion des erreurs et architecture propre pour une ressource spécifique.
Act as a Senior Backend Developer proficient in {{Language:[programming_languages]}}.
I am building an application for managing {{Resources: Add anythink you want to manage like TASKS}} and need a robust backend implementation.
### Tech Stack
- **Framework:** {{Framework:[backend_frameworks]}}
- **ORM/Database Tool:** {{ORM:[database_orms]}}
- **Authentication:** {{Auth Provider:[auth_providers]}}
### Requirements
1. **CRUD Routes:** Create endpoints for Creating, Reading (List and Single), Updating, and Deleting {{Resources}}.
2. **Data Model:** The resource should include the following fields: {{Fields List:title; description; status; dueDate; priority}}.
3. **Security:** Protect all routes using {{Auth Provider:[auth_providers]}} based authentication/middleware.
4. **Architecture:** Ensure strict separation of concerns by separating Controller logic (handling requests) from Service logic (business rules/database interaction).
5. **Robustness:** Include standardized error handling and uniform API response structures.
Please provide the complete code for the necessary files and a brief overview of the folder structure.
[programming_languages]
Add anythink you want to manage like TASKS
[backend_frameworks]
[database_orms]
[auth_providers]
title; description; status; dueDate; priority
Act as a Senior Backend Developer proficient in [programming_languages]. I am building an application for managing Add anythink you want to manage like TASKS and need a robust backend implementation. ### Tech Stack - **Framework:** [backend_frameworks] - **ORM/Database Tool:** [database_orms] - **Authentication:** [auth_providers] ### Requirements 1. **CRUD Routes:** Create endpoints for Creating, Reading (List and Single), Updating, and Deleting Add anythink you want to manage like TASKS. 2. **Data Model:** The resource should include the following fields: title; description; status; dueDate; priority. 3. **Security:** Protect all routes using [auth_providers] based authentication/middleware. 4. **Architecture:** Ensure strict separation of concerns by separating Controller logic (handling requests) from Service logic (business rules/database interaction). 5. **Robustness:** Include...
Les variables sont entourées de {{ et }} et suivent ce modèle :
Une sélection peut référencer une liste de variables prédéfinie à l'aide de crochets. Elles apparaissent en [orange] et fournissent des valeurs courantes comme des couleurs, des tons ou des langues.
Vous pouvez aussi fournir une liste de choix en ligne, séparés par des virgules.
Astuce : vous n'avez pas besoin de l'application PUCO pour utiliser ces prompts ! Copiez simplement le modèle et remplacez chaque section {{…}} par votre propre texte directement dans ChatGPT, Claude, Gemini ou tout autre assistant IA.