parsimony/admin
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 5a0dd7f6d6 feat(adminui): embed the admin SPA and serve it next to the API
- Add internal/adminui with a SPA handler: index fallback for client routes, immutable caching for hashed assets, 404 for missing assets, security headers
- Answer 503 with a hint when the UI has not been built, so go build always works
- Mount the UI at / and the API at /api/ on the same listener, no CORS needed
- Scaffold admin/ with Vite, React, TypeScript, Tailwind v4, shadcn/ui and Vitest
2026-11-09 15:29:12 +01:00
..
public feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
scripts feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
src feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
.gitignore feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
.oxlintrc.json feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
components.json feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
index.html feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
package-lock.json feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
package.json feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
tsconfig.app.json feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
tsconfig.json feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
tsconfig.node.json feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00
vite.config.ts feat(adminui): embed the admin SPA and serve it next to the API 2026-11-09 15:29:12 +01:00