Trebek API

TriviaMatic backend — FastAPI edition

API running

Python / FastAPI rewrite of the Trebek / TriviaMatic NestJS backend. Handles authentication, staff account management, question/round game logic, and file uploads for the TriviaMatic platform — talking directly to PostgreSQL with parameterized SQL (no ORM).

Documentation

Endpoint groups

AUTH /auth Login, password reset, staff account creation, user types
GAMES /games Round/question replacement, edit logs, game logging
FILES /files Image uploads to S3
ACTION /do-action Generic action dispatch (legacy TriviaMatic bridge)