// the find
mosh-hamedani/game-hub
A React + TypeScript game discovery frontend built against the RAWG API, created specifically as a teaching project for Mosh Hamedani's paid React course. It is not a production-grade tool — it exists to demonstrate React fundamentals in a context developers find more interesting than a to-do app.
The component decomposition is clean and intentional — GameCard, GameGrid, GenreList each have a single responsibility, which is the whole point for a learning project. TypeScript is used throughout rather than bolted on after the fact. Custom hooks (useGames, useGenres, usePlatforms) extract data-fetching logic away from components in a pattern that scales. Chakra UI integration with a working dark mode switch is a practical real-world touch beginners often skip.
The API key goes directly into src/services/api-client.ts, which the README explicitly instructs — that means students will commit secrets to their forks, and 277 forks means this has already happened many times. No tests whatsoever, not even a smoke test, which is a significant omission when the stated goal is teaching professional React. Last push was August 2023, so it reflects the Vite/React ecosystem of nearly three years ago. The static genre and platform data files (src/data/genres.ts, src/data/platforms.ts) are hardcoded arrays rather than fetched, which will quietly drift out of sync with the RAWG API over time.