What problem does it solve?
Developing scalable, maintainable, and error-resilient backend microservices can be challenging due to inconsistent patterns, poor error handling, and lack of clear architecture. This skill provides a definitive guide to modern Node.js/Express/TypeScript development.
Core Features & Use Cases
- Layered Architecture: Implement a clear
Routes → Controllers → Services → Repositories structure for optimal separation of concerns, making your codebase easier to understand and test.
- Robust Error Handling: Integrate Sentry for comprehensive error tracking and use custom error types with a
BaseController pattern to ensure all issues are caught and managed effectively.
- Type-Safe Development: Leverage Zod for input validation,
unifiedConfig for configuration, and Prisma for database access, all with strong TypeScript guarantees, reducing runtime errors.
- Use Case: When building a new API endpoint, use this skill to get a checklist for defining routes, implementing controllers, services, and repositories, ensuring proper validation, error handling, and adherence to architectural standards.
Quick Start
I need to create a new backend API endpoint for user creation. Provide the core principles for backend development and a quick start checklist for a new feature.