Commit Graph

7 Commits

Author SHA1 Message Date
9ccd21584f fix(build): use the real API by default so the CI build works
The CI server runs a plain `next build` in apps/demo; it never reads vercel.json, so
`app:build` and its API URL were skipped. With no URL the app fell back to the demo data
source, which only works inside the hosted artifact sandbox, and rezina.yaltopia.com
showed "0 courses".

- the API URL is now the default in apps/demo/app/page.tsx; any plain build uses it
- NEXT_PUBLIC_LMS_API still overrides it (e.g. staging); set empty, it keeps demo data
- `demo:build` sets it empty: the artifact sandbox can't reach outside servers
  (artifact check: no network attempts)
- `app:build` is now just the plain build; README updated
2026-11-03 17:35:11 +03:00
ff5772e9cf build: Vercel builds against the real API by default
- new `app:build` script bakes NEXT_PUBLIC_LMS_API=https://api.rezina.yaltopia.com into
  the student app; the URL lives in package.json, so nobody sets it by hand
- vercel.json runs `app:build`, so a deploy of this branch talks to the API with no
  dashboard settings
- `demo:build` (the hosted artifact demo) is unchanged and keeps demo data: its sandbox
  blocks calls to outside servers (artifact check: no network attempts)
- README: Vercel section updated, including how to build the old in-memory demo
2026-11-02 20:53:55 +03:00
629403da0b feat(waitlist): save signups to a Google Sheet via Apps Script
Server-side validation, email dedupe under a script lock, formula-injection
guard, honeypot field. The page posts text/plain so no CORS preflight is
needed. tools/waitlist-check.mjs runs the script against stub services.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 01:33:46 +03:00
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
6480f21b5e feat: customer end only — remove admin screens, admin sign-in, roles and admin styles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:59:38 +03:00
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
118d26d158 feat: Phase 0 Claude-hosted demo of the e-learning platform
Spec v1.2, Logosmental-based design direction and tokens, pnpm monorepo
(apps/demo, packages/data|features|i18n|db/seed), student + admin screens
in 4 locales, simulated ArifPay checkout on the real order state machine,
artifact inline/check tools, domain rule checks and UI audit fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:57:11 +03:00