Skip to content

← All projects

In development

Trading Card Game Viewer

Web platform for TCG players and enthusiasts with price tracking and a card database covering games like One Piece and Hololive TCG — current prices, full collection browsing, and interactive price-trend graphs.

Catalog

Purpose

TCG players need trustworthy price history and a browsable card catalog. The viewer tracks card prices over time across games such as One Piece and Hololive TCG, with release browsing, update feeds, and per-card trend graphs.

My contribution

  • Built the original backend and data pipeline in Python/Django with Celery-scheduled scraping, plus the first Vue frontend.
  • Rewriting the backend in Go, preserving the existing frontend API contract and database behavior.
  • Built two viewer frontends against the same API: a SvelteKit app and a React SPA with charted price history.

Architecture

  • Go service runs in api, worker, and scheduler modes from one codebase; PostgreSQL is the source of truth.
  • A snapshot is stored when a card price changes; unchanged prices update the latest snapshot instead, keeping history deduplicated.
  • The scraper targets a vendor catalog with request delays, retries, and per-release isolation so one bad release cannot abort a whole pass.
  • An embedded admin UI manages the TCG catalog; the public API stays read-only and version-stable for both frontends.

Challenges & solutions

Rewriting the backend without breaking two live frontend clients.

Froze the API contract first — endpoint paths, query parameters, response fields, pagination, and price formatting — and wrote compatibility tests around filtering, latest-per-card queries, and history deduplication before porting behavior to Go.

Scraping politely and reliably across many releases and cards.

Enforced a minimum request delay, honored retry/rate-limit responses, skipped inactive catalogs and disabled releases, and recorded scrape status per release so failures stay visible and isolated.