charhub-express-controllers-patterns

Community

Clean, scalable Express controllers for CharHub.

Authorleandro-br-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Keep Express controllers thin by delegating business logic to services, enabling easier maintenance, testing, and clear separation of concerns across routes in CharHub backend.

Core Features & Use Cases

  • Separation of concerns between controllers and services; standardized request handling, error management, and consistent response structures.
  • Patterns for common route handlers (get by id, list, create, update, delete), input validation, and integration with authentication and file uploads.
  • Guidance for organizing controllers, services, validation, and logging to support scalable backend development.

Quick Start

Integrate these patterns by replacing inline business logic in your controllers with service calls.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: charhub-express-controllers-patterns
Download link: https://github.com/leandro-br-dev/charhub/archive/main.zip#charhub-express-controllers-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.