Provides actionable architecture patterns and best practices for building scalable, maintainable server-side applications in Node.js, Express, and Next.js…
Provides actionable architecture patterns and best practices for building scalable, maintainable server-side applications in Node.js, Express, and Next.js API routes. Covers REST and GraphQL endpoint design, resource-based routing, query parameter conventions (filtering, sorting, pagination), and repository-service-controller separation with concrete repository examples (e.g., Supabase). Includes guidance on database optimization (indexing, avoiding N+1 queries, connection pooling), caching strategies (Redis, in-memory, HTTP cache headers), background jobs and async processing, middleware (authentication, logging, rate limiting), and structured error handling and validation. Use this Skill when designing APIs, refactoring for testability, introducing caching or workers, or optimizing production performance. Core advantages are clearer separation of concerns, easier testing and maintenance, predictable scaling, and improved latency and throughput for server-side services.
Esta página faz parte do hub OpenClaw Skills com guias de instalação, navegação por categorias e links práticos.