Pub Quiz HubTrivia night automation
LiveA quizmaster describes the night they want; Claude writes the whole pack against a validated schema. The app prints presenter scripts and PDF question and answer sheets, then runs the night live — teams join from their phones with a short code, answers score themselves, and the scoreboard updates on reveal.
Built end to end: data model, live session state machine, PDF rendering, host authentication, and a Playwright suite that drives a real session from generation through to final scoreboard.
- Stack
- Next.js · TypeScript · Tailwind
- Data
- Prisma · libSQL / Turso
- AI
- Claude, forced tool call → schema-valid JSON
- Output
- react-pdf · three document types
- Tests
- Vitest · Playwright end-to-end
- Ops
- Swappable DB and rate limiter, by env var alone