RezinaLMS-CustomerEnd/README.md
kirukib 69cb247d8e feat: waitlist page for launch signups (name, email, phone)
Standalone page served at /waitlist/. Phone numbers are normalised to E.164
(+251 for local numbers). ENDPOINT must be set before public use; until
then signups are kept only in the visitor's browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:17:29 +03:00

36 lines
2.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.
- **Spec:** [`SPEC.md`](SPEC.md) is the single source of truth. Read it before writing code.
- **Design:** [`design/inspo/README.md`](design/inspo/README.md) (Logosmental reference), [`design/tokens.json`](design/tokens.json), [`design/audit-2026-10-06.md`](design/audit-2026-10-06.md).
- **Live demo (Phase 0, Claude-hosted):** https://claude.ai/artifact/Rv2YqqccDs9GtAWbzHUCHE. It's private, so ask the owner for access. Payments, SMS and email are simulated.
**Waitlist page:** `apps/demo/public/waitlist/index.html` is a standalone page (name, email, phone) served at `/waitlist/` on Vercel. Set `ENDPOINT` in it before sharing it publicly. Until then, 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
```sh
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. 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.