backend-patterns

Installation
Summary

Scalable backend architecture patterns for Node.js, Express, and Next.js applications.

  • Covers RESTful API design, repository pattern for data abstraction, service layer separation, and middleware pipelines for request processing
  • Includes database optimization techniques: query selection, N+1 prevention, transactions, and Redis caching strategies
  • Provides authentication and authorization patterns: JWT validation, role-based access control, and rate limiting implementations
  • Features error handling with centralized handlers, retry logic with exponential backoff, and structured logging for monitoring
  • Demonstrates background job queues, cache-aside patterns, and practical code examples across all architectural layers
SKILL.md

Backend Development Patterns

Backend architecture patterns and best practices for scalable server-side applications.

API Design Patterns

RESTful API Structure

// ✅ Resource-based URLs
GET    /api/markets                 # List resources
GET    /api/markets/:id             # Get single resource
POST   /api/markets                 # Create resource
PUT    /api/markets/:id             # Replace resource
PATCH  /api/markets/:id             # Update resource
DELETE /api/markets/:id             # Delete resource

// ✅ Query parameters for filtering, sorting, pagination
GET /api/markets?status=active&sort=volume&limit=20&offset=0
Related skills
Installs
348
GitHub Stars
37.3K
First Seen
Jan 21, 2026