# backend-skill > Generate routes, handle requests and responses, and connect to databases. Use for building and maintaining backend systems. - Author: sadiaism - Repository: sadiaism/hackathone2-todo_phaseIV - Version: 20260208211839 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-08 - Source: https://github.com/sadiaism/hackathone2-todo_phaseIV - Web: https://mule.run/skillshub/@@sadiaism/hackathone2-todo_phaseIV~backend-skill:20260208211839 --- --- name: backend-skill description: Generate routes, handle requests and responses, and connect to databases. Use for building and maintaining backend systems. --- # Backend Skill ## Instructions 1. **Route Management** - Define API endpoints and routes clearly - Handle HTTP methods (GET, POST, PUT, DELETE) - Organize routes for maintainability 2. **Request/Response Handling** - Validate incoming requests - Format responses consistently - Handle errors and exceptions gracefully - Ensure proper status codes and messages 3. **Database Integration** - Connect to databases securely - Perform CRUD operations efficiently - Use ORM or query builders as needed - Handle transactions and rollback safely ## Best Practices - Keep route and controller logic clean and modular - Sanitize all user inputs - Use consistent naming and structure - Implement logging for debugging and monitoring - Test endpoints thoroughly before production