Split the monolithic server API module into domain routers #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The main Elysia API surface is concentrated in a single large module, which is becoming a maintainability bottleneck.
Why this is a problem:
lib/server/api/app.tscurrently owns route definitions, parsing helpers, and domain orchestration across many features.Observed in:
lib/server/api/app.tsis ~1800 lines and spans auth, watchlist, portfolio, filings, research, search, tasks, and analysis concerns.Suggested direction:
Acceptance criteria: