Controllers

Business logic coordination between routes and services.

Responsibilities

  • Business logic and orchestration between services
  • Handle environment variables and configuration
  • Coordinate multiple service calls
  • Implement business rules and validation
  • Handle service business logic layer (result.success)

Examples

  • getHealthStatus() - Generate formatted health response
  • validateConfiguredDatabases() - Check all configured databases