AI exam tutor for competitive exams (NEET, JEE, and custom). See TASKS.md for the full plan and AGENTS.md for engineering rules.
apps/
web/ Next.js 16 (client)
mobile/ Expo + Expo Router (client)
server/ Express + tRPC + Inngest
packages/
api/ tRPC routers + procedures
db/ Prisma schema + client
ai/ model registry
validators/ shared Zod schemas
ui-tokens/ design tokens (no purple)
config/ shared TypeScript config
- Bun 1.3+
- Docker (Postgres + Qdrant for local dev)
# Install
bun install
# Infra
docker compose up -d
# Env (already have .env.example)
cp .env.example .env # if needed
# Database
bun run db:generate
bun run db:migrate
# Dev (all apps via turbo) — or run filters separately
bun run --filter @examgpt/server dev
bun run --filter @examgpt/web dev
bun run --filter @examgpt/mobile devbun run check # typecheck + lint + testSee docs/DEPLOYMENT.md and the ordered docs/LAUNCH.md checklist (Phase 8).
- Host: DigitalOcean App Platform, region blr (Bengaluru) —
.do/app.yaml - API:
apps/server/Dockerfile→ DO service - Web: Next.js → DO service (
examgpt.mayanksaraswal.intest domain) - Mobile: EAS profiles in
apps/mobile/eas.json - CI:
.github/workflows/ci.yml(bun run check+prisma migrate deploy)
bun run checkgreen- Web shows
health.pingresult - Expo app shows the same
- Prisma migrate against docker Postgres