feat(admin): manual quiz back-office + rewrite README #7

Merged
ayoub merged 1 commit from feature/quiz-backoffice into dev 2026-06-10 15:25:45 +00:00
Owner

Back-office (roadmap V1 step 7):

  • server: token-protected HTTP API under /api/admin (ADMIN_TOKEN), Drizzle-backed
    CRUD for manual questions — list, create (mcq/truefalse/free, category upsert,
    dedup on prompt, validation), delete; 401/503 when unauthorized/unconfigured
  • client: /admin page with token login + TanStack Query (list/create/delete),
    format-aware form (QCM / vrai-faux / réponse libre)
  • env: ADMIN_TOKEN

README: replace the shadcn template with a real NerdWare overview (stack,
structure, getting started, scripts, game modes, back-office).

Verified against real Postgres: auth (401), create (201), dedup (409),
validation (400), list, delete (200/404).

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Back-office (roadmap V1 step 7): - server: token-protected HTTP API under /api/admin (ADMIN_TOKEN), Drizzle-backed CRUD for manual questions — list, create (mcq/truefalse/free, category upsert, dedup on prompt, validation), delete; 401/503 when unauthorized/unconfigured - client: /admin page with token login + TanStack Query (list/create/delete), format-aware form (QCM / vrai-faux / réponse libre) - env: ADMIN_TOKEN README: replace the shadcn template with a real NerdWare overview (stack, structure, getting started, scripts, game modes, back-office). Verified against real Postgres: auth (401), create (201), dedup (409), validation (400), list, delete (200/404). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ayoub self-assigned this 2026-06-10 15:25:31 +00:00
ayoub added 1 commit 2026-06-10 15:25:32 +00:00
Back-office (roadmap V1 step 7):
- server: token-protected HTTP API under /api/admin (ADMIN_TOKEN), Drizzle-backed
  CRUD for manual questions — list, create (mcq/truefalse/free, category upsert,
  dedup on prompt, validation), delete; 401/503 when unauthorized/unconfigured
- client: /admin page with token login + TanStack Query (list/create/delete),
  format-aware form (QCM / vrai-faux / réponse libre)
- env: ADMIN_TOKEN

README: replace the shadcn template with a real NerdWare overview (stack,
structure, getting started, scripts, game modes, back-office).

Verified against real Postgres: auth (401), create (201), dedup (409),
validation (400), list, delete (200/404).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ayoub merged commit 04850bf749 into dev 2026-06-10 15:25:45 +00:00
ayoub deleted branch feature/quiz-backoffice 2026-06-10 15:25:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ayoub/nerdware#7
No description provided.