90x System Architecture

90x System Architecture An architecture diagram generated by Archify. Admin · same app, /admin · Browser Admin same app, /admin Learner · PWA, phone or desktop · Browser Learner PWA, phone or desktop Proxy · session, /admin lock · Vercel, region bom1 (main only) Proxy session, /admin lock App Router pages · Today Feed Library Coach Me · Vercel, region bom1 (main only) App Router pages Today Feed Library Coach Me Server actions · check-ins, feed, plan, audio · Vercel, region bom1 (main only) Server actions check-ins, feed, plan, audio Admin pages · users, cards, AI caps, mail · Vercel, region bom1 (main only) Admin pages users, cards, AI caps, mail API routes · Coach chat, push, share · Vercel, region bom1 (main only) API routes Coach chat, push, share Job routes · hourly, leetcode-sync · Vercel, region bom1 (main only) Job routes hourly, leetcode-sync AI gate · caps, pause, spend meters · Vercel, region bom1 (main only) · aiGate() AI gate caps, pause, spend meters aiGate() Cloudflare R2 · audio lessons (signed) · Managed services Cloudflare R2 audio lessons (signed) Upstash Redis · feed queue, limits, spend · Managed services Upstash Redis feed queue, limits, spend Supabase · Postgres, Auth Google · Managed services Supabase Postgres, Auth Google Upstash Vector · Coach lesson search · Managed services Upstash Vector Coach lesson search Upstash QStash · schedules for jobs · Managed services Upstash QStash schedules for jobs Monitoring · Sentry, UptimeRobot · Architecture component Monitoring Sentry, UptimeRobot Resend · approval emails · Third parties Resend approval emails AI model provider · DeepSeek by default · Third parties · fast + smart AI model provider DeepSeek by default fast + smart Web push services · browser push, VAPID · Third parties Web push services browser push, VAPID LeetCode · public GraphQL · Third parties LeetCode public GraphQL Python pipeline · runs on owner's machine · Offline and CI Python pipeline runs on owner's machine GitHub Actions · CI + nightly backup · Offline and CI GitHub Actions CI + nightly backup every request approve, review signed in admins only API calls taps approve, publish plan, cards, XP feed queue sign audio URL approval email lesson search may it spend? weekly review call if under caps signed trigger reminders 6-hourly sync uptime ping content, cards audio mp3 nightly backup Browser Vercel, region bom1 (main only) Managed services Third parties Offline and CI Legend Frontend Backend Database Cloud Security Message bus External