Trivia Practice

AI

July 10, 2025

Trying to Help My Trivia Team

This was a project from when I first started to experiment with Claude Code. I wanted to see how it would handle a simple, greenfield project.

The issue was clear, my trivia team was doing terrible. So it was time to find a way to improve. The solution was to create a trivia practice page that would show a new set of cards each day using ChatGPT API that relate to the categories we most often were asked on trivia night.

I used next.js for some simple backend functionality, and to use react on the frontend. The database is supabase, so I can store previous questions as well, and give that AI generation calls some context on what been asked previously.

The process was astonishingly fast, but there was definitely a need for quite a bit of guidance for Claude. Mostly in keeping types enforced, and keeping a cohesion on resuable components on the frontend. The backend was pretty clean, but the functionality is very simple. Claude also struggled defining a good schema, but after I set that up, it used the Supabase MCP to keep the functions clean.

All in from start to deployment it was about 90 minutes, which is very impressive.

Practice your trivia skills here!