Routes

HTTP route handlers organized by functionality.

Each route subdirectory should have a _[directory_name].routes.ts file that mounts routes for that section.

Routes should:

  • Handle HTTP request/response only
  • Call controllers, never services directly
  • Have minimal logic - just HTTP concerns (parsing, validation, response formatting)