What problem does it solve? Building production Node.js backends requires many decisions around architecture, middleware, error handling, authentication, and database access, and getting these wrong leads to fragile, hard-to-maintain services. ## Core Features & Use Cases - Framework Setup: Ready-to-use Express and Fastify configurations with security middleware (helmet, cors, compression) and schema-validated routes. - Layered Architecture: Complete controller, service, and repository layer implementations with dependency injection container wiring. - Middleware & Error Handling: JWT authentication, Zod validation, Redis-backed rate limiting, structured Pino logging, and a global error handler with custom error classes. - Use Case: When scaffolding a new REST API with user registration and login, apply the layered architecture, JWT auth service with refresh tokens, PostgreSQL repository with connection pooling, and Zod validation middleware to get a consistent, testable codebase. ## Quick Start Use the nodejs-backend-patterns skill to scaffold an Express REST API with JWT authentication, Zod validation, and a PostgreSQL-backed user service.