N

nodejs-backend-patterns

bywshobsonΒ·#165 trending

Install the nodejs-backend-patterns skill for your AI agent. Published by wshobson/agents.

29.6Kweekly installs
34,400stars
First seenToday

Installation

Send this command to your AI agent:

npx skills add https://github.com/wshobson/agents --skill nodejs-backend-patterns

Documentation

Production-ready Node.js backend patterns with Express/Fastify, middleware, authentication, and database integration.

  • Covers layered architecture (controllers, services, repositories), dependency injection, and microservices design with TypeScript
  • Includes middleware patterns for authentication, validation, rate limiting, and request logging with practical examples
  • Provides custom error handling, global error handlers, and async error wrappers for robust error management
  • Supports PostgreSQL (connection pooling, transactions) and MongoDB (Mongoose) with caching strategies using Redis
  • Demonstrates JWT authentication, refresh tokens, API response formatting, and best practices for production deployments