Go to file
n3p-tun3 8ba936baae feat(api): connect the student app to the Rezina API
ApiDataSource maps the Go API onto the existing DataSource, so the screens are unchanged.
Build with NEXT_PUBLIC_LMS_API=https://api.rezina.yaltopia.com to use it; without it the
demo keeps its own data.

Verified against the live API (public, no sign-in):
- catalog and course outlines: courses, chapters, lessons, lesson notes, covers
- FREE lessons (and every lesson of a FREE course) play for anyone; a free course offers
  "Start lesson 1" instead of a disabled buy button

Built from the spec, not yet tested with a real account:
- sign-in: phone code (login or register) and email + password, token refresh, sign-out
- profile, progress summary (owned courses, completed lessons), lesson video URLs
- video heartbeat, notifications (list, read/unread), issue reports, profile updates

Not on the API yet, so left on hold: per-course prices and purchases (buying shows the
"not connected" message), translations, categories, teacher, durations, prerequisites,
chapter quizzes, Google/Apple sign-in.

Screens now hide what a course doesn't have instead of showing it empty: category pill,
teacher line and creator row, "0 min" durations, an empty card footer. Lessons with a
Vimeo link play that video; the sample clip and "mark as watched" stay for lessons
without one.

Mapping checks (packages/data/src/api.check.ts) run in `pnpm test` against saved live
responses.
2026-11-02 14:23:47 +03:00
.agents/skills chore(skills): add interface design guidance 2026-10-21 21:07:05 +03:00
.claude/skills feat: UX audit 2026-10-16 and phase 1 visual fixes 2026-10-16 22:13:33 +03:00
apps/demo feat(api): connect the student app to the Rezina API 2026-11-02 14:23:47 +03:00
design feat: guided tour, course cards with enrolled counts, abstract steps, grouped payments, SEO, founder link 2026-10-20 15:05:39 +03:00
packages feat(api): connect the student app to the Rezina API 2026-11-02 14:23:47 +03:00
tools feat: guided tour, course cards with enrolled counts, abstract steps, grouped payments, SEO, founder link 2026-10-20 15:05:39 +03:00
.gitignore feat: Sirkul brand, landing refresh, new footer, international waitlist phone 2026-10-20 11:22:28 +03:00
.vercelignore feat: standalone Vercel deploy of the Phase 0 demo 2026-10-07 01:12:06 +03:00
package.json feat(api): connect the student app to the Rezina API 2026-11-02 14:23:47 +03:00
pnpm-lock.yaml feat(api): connect the student app to the Rezina API 2026-11-02 14:23:47 +03:00
pnpm-workspace.yaml feat: Phase 0 Claude-hosted demo of the e-learning platform 2026-10-06 23:57:11 +03:00
README.md feat(waitlist): save signups to a Google Sheet via Apps Script 2026-10-17 01:33:46 +03:00
skills-lock.json chore(skills): add interface design guidance 2026-10-21 21:07:05 +03:00
SPEC.md feat: Phase 0 Claude-hosted demo of the e-learning platform 2026-10-06 23:57:11 +03:00
tsconfig.base.json feat: Phase 0 Claude-hosted demo of the e-learning platform 2026-10-06 23:57:11 +03:00
vercel.json feat: Sirkul brand, landing refresh, new footer, international waitlist phone 2026-10-20 11:22:28 +03:00

RezinaLMS — Customer End

The student-facing side of the MakeUp Academy e-learning platform. This repo has no admin screens.

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.

Waitlist page: apps/demo/public/waitlist/index.html (name, email, phone) is served at /waitlist/ on Vercel. Signups go to a Google Sheet through tools/waitlist-apps-script.gs, which has the setup steps in its header. Paste the web app URL into ENDPOINT in the page before sharing it. While ENDPOINT is empty, signups stay in the visitor's browser.

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 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
node tools/waitlist-check.mjs  # waitlist Apps Script: validation, dedupe, formula-injection guard

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. 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.