Trivia Game
Web-based geography trivia game with multiple modes
Originally built as my Change++ coding challenge, this project evolved into a personal playground for honing my full-stack web development skills. I designed an interactive trivia experience that blends fast-paced gameplay with real-time data from The Trivia API and REST Countries.
How I contributed
Frontend: built with React and TypeScript using functional components and hooks. Added multiple game modes (multiple-choice and free-text), a country-flag hint toggle, and a 10-question scoring flow with a results page. Backend: implemented an Express.js server to fetch questions from The Trivia API, retrieve flag data from REST Countries, validate answers, and expose REST endpoints under /questions. Used axios for async requests, cors for cross-origin handling, and nodemon for development. Structured the codebase with modular components to support future category additions and multiplayer modes.