backend-patterns - Backend architecture patterns for Node.js APIs
Provides backend architecture, API design, database optimization, caching, error handling, and authentication patterns for Node.js, Express, and Next.js API routes.
Tags
Updated: 2026-09-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Design REST and GraphQL APIs
- Structure repository and service layers
- Optimize database queries
- Apply caching strategies
- Implement middleware and authentication
- Handle API errors and validation
- Configure retries and background processing
- Enforce role-based access control
Inputs
- API requirements
- Data models
- Database configuration
- Cache configuration
- Authentication requirements
Outputs
- API endpoint structures
- Server-side code patterns
- Database query implementations
- Cache behavior
- HTTP error responses
- Authentication flows
Requirements
- Node.js runtime
- Express or Next.js API route environment
