Routes

HTTP route handlers organized by functionality.

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

Subdirectories

  • /api - JSON API endpoints for frontend/backend communication
  • /tasks - Webhook handlers for Notion integrations
  • /views - Server-side rendered views for frontend