What problem does it solve?
This Skill establishes consistent best practices for building Node.js/Express/TypeScript microservices, ensuring a layered architecture, robust error handling, and secure database interactions. It streamlines backend development, making services maintainable, testable, and scalable.
Core Features & Use Cases
- Layered Architecture: Guides on separating concerns into Routes, Controllers, Services, and Repositories for clarity and testability.
- Prisma & Zod Integration: Provides best practices for database access with Prisma and input validation with Zod, ensuring data integrity.
- Sentry Error Tracking: Ensures all errors are captured and monitored for proactive issue resolution and improved system reliability.
- Use Case: A developer needs to create a new user authentication endpoint. This skill provides a checklist for new features, guides on using
BaseController, userService, userRepository, and integrating Zod validation and Sentry error tracking.
Quick Start
To create a new backend feature, define a clean route, extend BaseController, implement business logic in a service, and use Zod for input validation.