RezinaLMS-CustomerEnd/README.md
kirukib e0f569dca9 feat: standalone Vercel deploy of the Phase 0 demo
Injects the runtime mock and demo seed into the static export so the
demo runs outside Claude.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 01:12:06 +03:00

2.0 KiB
Raw Blame History

MakeUp Academy — e-learning platform

Video courses for makeup artists in Amharic, Afaan Oromoo, Tigrinya and English. Students pay once per course (Telebirr / CBE Birr through ArifPay) and keep it for life.

Layout

Path What
apps/demo Next.js 15 static export, inlined into one HTML file and published as the Claude artifact (SPEC §18)
packages/features All student and admin screens, plus domain.ts (payments, access, progress, dashboard rules)
packages/data DataSource interface + ClaudeDbDataSource. Production adds ApiDataSource
packages/i18n Message catalogs. om and ti are drafts that need a translator
packages/db/seed Demo seed (fictional sample students are marked isSample)
tools/ artifact-inline, artifact-check, i18n-check, and preview/ (local runtime mock + click-everything smoke test)

Commands

npx -y pnpm@9 install
npx -y pnpm@9 run demo:build   # next build → dist/demo.html → offline network check
npx -y pnpm@9 test             # domain rules (payments, entitlement, progress, dashboard)
npx -y pnpm@9 run i18n:check   # every locale has every key

Vercel (standalone demo): vercel.json builds the static export, then tools/vercel-build.mjs injects the runtime mock and the seed. Outside Claude, all data lives in memory in each visitor's browser and resets on reload, and every visitor gets admin access. Deploy with npx vercel deploy --prod.

Phases 1–3 (Fastify API, Postgres, ArifPay, R2 video) haven't started yet. They wait on decisions D1, D2 and D8 in SPEC §17.