Technical Notes
Monorepo Layout
apps/app- Next.js game clientapps/web- public game siteapps/docs- Nextra docspackages/server- Express API and runtimepackages/prisma- Prisma schema and generated clientpackages/game-core- shared battle and catalog logic
Data Flow
The browser fetches the current match state from the Express API and posts user actions back to the server. The server owns the authoritative state and writes it to the database.
Last updated on