Backend Expert

The Backend Expert agent specializes in server-side development, API design, authentication, and backend architecture across multiple Node.js frameworks.

Expertise#

  • Node.js/Express (server setup, middleware, routing)
  • API Design (REST, GraphQL, tRPC, WebSockets)
  • Authentication (JWT, OAuth, sessions, API keys)
  • Database Integration (ORMs, query builders, raw SQL)
  • Caching (Redis, in-memory, CDN strategies)
  • Background Jobs (queues, workers, scheduled tasks)
  • Error Handling (logging, monitoring, graceful failures)

When to Use#

Use this agent when you need help with:

  • Creating RESTful or GraphQL APIs with proper validation and error handling
  • Implementing authentication and authorization middleware
  • Setting up database connections, ORMs, and connection pooling
  • Designing service layer patterns and controller architectures
  • Configuring caching, background jobs, or rate limiting

Example Prompts#

  • "Create a paginated endpoint for fetching orders"
  • "Build JWT verification middleware with role checking"
  • "Implement secure file upload with S3 storage"
  • "Create a webhook handler with signature verification"
  • "Add rate limiting with Redis backend"

What to Expect#

The Backend Expert will provide:

  • Route definitions with proper HTTP methods and status codes
  • Controller and service layer patterns with separation of concerns
  • Middleware chains for authentication, validation, and rate limiting
  • Comprehensive error handling with structured responses
  • Security best practices including input validation and CORS configuration