You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Admin] Infra: admin SPA packaging + host serving at /admin
Why
The current /admin is a single static store/admin/index.html. We want a real React app (matching store/console) served at /admin by the existing host worker — no separate worker or DNS (PAGS is a single self-contained monorepo; see epic architecture decision).
Scope
Create store/admin/ as a React 19 + TypeScript + Tailwind v4 + Vite app, mirroring the store/console toolchain/build (same design tokens, fonts, dark theme).
Wire it into the host worker build (workers/host/build.js → pages.ts) so /admin and /admin/* serve the SPA (client-side routing), replacing the static stub.
Add the admin app to CI build + deploy (.github/workflows), same as console.
Keep robots: noindex,nofollow.
Acceptance criteria
/admin serves the new SPA in prod; deep links (/admin/users) resolve to the SPA.
Old static store/admin/index.html removed.
Build/deploy runs in CI with no manual steps (push-to-main auto-deploy).
Shares the design system with console (verified visually).
Activity
feat(admin): admin SPA served at /admin (#29, #35)
serge-ivo commentedon Aug 1, 2026
Done — admin SPA packaged + served at /admin by the host worker (build.js inlines the bundle; /admin/* deep links). Landed on main as 7db2599.