发现和使用优秀的技能扩展
内容:生产就绪的Node.js后端模式 - Express/Fastify设置、分层架构、中间件、错误处理、验证、数据库集成、身份验证和缓存。
场景:用户正在构建REST API、设置Node.js服务器、实现身份验证、集成数据库、添加验证/缓存或构建后端应用程序结构时。
关键词:nodejs、node、express、fastify、typescript、api、rest、中间件、身份验证、jwt、验证、zod、postgres、mongodb、redis、缓存、速率限制、错误处理
WHAT: Production-ready Node.js backend patterns - Express/Fastify setup, layered architecture,
middleware, error handling, validation, database integration, authentication, and caching.
WHEN: User is building REST APIs, setting up Node.js servers, implementing authentication,
integrating databases, adding validation/caching, or structuring backend applications.
KEYWORDS: nodejs, node, express, fastify, typescript, api, rest, middleware, authentication,
jwt, validation, zod, postgres, mongodb, redis, caching, rate limiting, error handling