apps/web
TanStack Start, shadcn, i18n, SEO. File routes. The landing and this architecture session are public. Dashboard routes sit behind auth.
TanStack Start, Expo, Better Auth, oRPC, Drizzle on Neon, files on R2. Clone, run pnpm setup, push.
packages/api
oRPC routers and zod contracts. MCP tools and webhooks live here. The client type is import type only.
Password, OAuth, passkeys, and 2FA. Admin impersonation lives in the dashboard.
Router inputs and outputs stay in Zod. Web and mobile import the same contracts.
Open a PR and Actions stands up a throwaway Worker. Merge to main ships production.