What problem does it solve?
Developers often struggle to compose scalable, maintainable Node.js backends with consistent error handling, authentication, and data access patterns. This Skill provides a structured blueprint for building production-ready services using Express or Fastify, with clear guidance on layering, middleware, and integration patterns.
Core Features & Use Cases
- Express.js and Fastify patterns with security, logging, and performance best practices.
- Layered architecture: controllers, services, repositories, models, and middleware for clean separation of concerns.
- Authentication, authorization, and robust error handling with standardized error models.
- Database integration for SQL and NoSQL (example patterns for Postgres and MongoDB).
- Dependency injection scaffolding and scalable configuration management.
- Caching, rate limiting, and observability considerations for production readiness.
- TypeScript-based type safety and guidance on testing strategies.
Quick Start
Spin up a minimal Node.js backend using Express or Fastify, wire in authentication and a sample database, and run the application to observe the middleware-driven request flow.