Architecture¶
This section is the architectural bible for Tomoda — the cross-cutting view of how the system is composed, how data flows, and which trade-offs were made and why. It is the place to start when you need to understand a feature end-to-end, onboard a new engineer, or evaluate a design change.
Each page below stands on its own and links into the deeper backend, frontend, and infrastructure docs.
-
Component map, request lifecycle, real-time lifecycle, deployment topology.
-
Core entities, relationships, and domain groupings — with an ER diagram.
-
Five auth methods, JWT + refresh tokens, sessions, API keys, end-to-end flow.
-
WebSocket Hub, per-event rooms, ping/pong, presence, and the road to multi-node.
-
Catalog of bounded contexts mapped to backend services and frontend folders.
-
ADR-lite — the choices that shape the codebase and why they were made.