{"skill":{"slug":"nodejs-patterns","displayName":"Nodejs Patterns","summary":"WHAT: Production-ready Node.js backend patterns - Express/Fastify setup, layered architecture, \nmiddleware, error handling, validation, database integration, authentication, and caching.\n\nWHEN: User is building REST APIs, setting up Node.js servers, implementing authentication, \nintegrating databases, adding validation/caching, or structuring backend applications.\n\nKEYWORDS: nodejs, node, express, fastify, typescript, api, rest, middleware, authentication, \njwt, validation, zod, postgres, mongodb, redis, caching, rate limiting, error handling","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":2241,"installsAllTime":14,"installsCurrent":14,"stars":3,"versions":1},"createdAt":1770725865816,"updatedAt":1777525076070},"latestVersion":{"version":"1.0.0","createdAt":1770725865816,"changelog":"Initial release — production-grade Node.js backend patterns.\n\n- Covers setup for Express and Fastify, including middleware and validation.\n- Layered architecture example for scalable code organization.\n- Standardized error handling with custom error classes and global handler.\n- Input validation best practices, including Zod middleware sample.\n- JWT authentication and role-based authorization middleware patterns.\n- Database integration guidance (PostgreSQL pool example included).\n- Emphasizes security and maintainability (“NEVER” rules outlined).","license":null},"metadata":null,"owner":{"handle":"wpank","userId":"publishers:wpank","displayName":"wpank","image":"https://avatars.githubusercontent.com/u/9498646?v=4"},"moderation":null}