Personal Project

PokéIndex: Pokémon Reference & Gaming PWA

A fast Pokémon reference app with a virtualized Pokédex of 1025+ Pokémon, a team builder with type-coverage analysis, side-by-side comparison with radar charts, 6 mini-games, encyclopedias for moves, abilities, and items, and full offline support as a PWA.

Highlights

1025+

Pokémon rendered at 60fps with virtualization

6

Interactive mini-games

2000+

Items in the encyclopedia

0

Duplicate API calls per session

Tech Stack

React 19
TypeScript (strict)
Vite 7
TanStack Router
TanStack Query v5
TanStack Virtual
TanStack Pacer
Zustand
Tailwind CSS v4
Framer Motion
Recharts v3
Zod v4
Radix UI
Phosphor Icons
Playwright
Vitest
PWA / Workbox

Key Features

Virtualized infinite-scroll grid rendering 1025+ Pokémon at 60fps

Animated sprites with a Gen 1 to 5 toggle

Debounced search with autocomplete, type/generation filters, and sorting

Detailed Pokémon pages: stats, abilities, moves, type matchups, encounters, evolution chains

Team Builder for teams of 6 with aggregated type coverage analysis

Side-by-side comparison with radar charts and type matchup diff

Who's That Pokémon: a silhouette guessing game

Type Matchup Quiz: test what you know about type effectiveness

Higher or Lower: compare base stats

Memory Match: card matching with 3 difficulty levels

Pokémon Wordle: guess in 6 tries with attribute clues

Pokédex Bingo: a 5×5 card with 45+ criteria

Move Browser: 1000+ searchable moves, each with a detail page

Ability pages with effects, flavor text, and the Pokémon that have each ability

Nature Chart: a 5×5 grid with stat colors and a nature suggester

Region Explorer: 9 regions with Pokédex progress tracking

Item Encyclopedia: 2000+ items with sprites, effects, and costs

Stat Explorer: base stat histograms for each generation

Command palette (Cmd+K) for quick navigation and search

Share cards with QR code and PNG export

Pokémon cry player with latest/legacy toggle

PWA with offline support and sprite caching

Dark/light theme with fully responsive layout

Pokédex tracker with per-generation completion progress

Architecture & Engineering

Data & State Strategy

  • TanStack Query with aggressive caching: the Pokémon list never goes stale, and details stay fresh for an hour
  • Zustand with persist middleware for favorites, teams, and game state in localStorage
  • Every API response validated with Zod v4, so a malformed payload shows fallback UI instead of crashing
  • TanStack Router with file-based, type-safe routes and URL-synced filter state

Performance

  • TanStack Virtual renders 1025+ items at 60fps with zero jank
  • Route-based code splitting, with every chunk under 50 KB gzipped
  • TanStack Pacer for debounced/throttled search requests
  • Service worker caches sprites and visited Pokémon for offline use
  • Revisiting a Pokémon is instant because it comes straight from the query cache

Code Quality

  • Strict TypeScript with no any and no unsafe casts
  • Feature-based folder structure with clear separation of concerns
  • E2E tests with Playwright, unit tests with Vitest
  • ARIA roles, keyboard navigation, and focus management
  • Mobile-first responsive design (320px minimum viewport)

See it in action

Explore the live app or check out the source code