Skip to main content

Controller Map

Controller map

Controllers are generally grouped by business domain and access channel (admin vs mobile).

Practical grouping

  • Admin controllers: CRUD, configuration, and operational workflows.
  • Mobile controllers: customer journeys with lightweight responses.
  • Auth/profile controllers: identity and account entry points.

Route-to-code tracing

Locate route declarations first, then inspect target controllers to understand validation, use-case logic, and data writes.

Maintainability guidance

Keep heavy business rules outside controllers by moving them to service/action classes.