How totaldu/totaldu-com works
This repository is a Korean Pokémon and League of Legends information site. Users enter through the React app and browse Pokémon encyclopedia, abilities, type matchups, and detail pages, or explore LoL predictions, rankings, teams, players, and live matches. LoL data-generation scripts and a small Express API support those experiences; the live-match route delegates to a cached lolesports client. The README provides no product overview, and several route and data-generation implementations were not sampled, so those relationships are omitted where unverified.
Main entry points: App.jsx React application · PredictionPage.jsx LoL predictions · RoleIcon.jsx Role icons · PokedexPage.jsx Pokédex
Components 27
Web application
- React application
client/src/App.jsx
Pokémon reference
- Pokédex layout
client/src/pages/PokedexLayout.jsx - Pokédex
client/src/pages/PokedexPage.jsx - Pokémon details
client/src/pages/PokemonDetailPage.jsx - Ability list
client/src/pages/AbilityListPage.jsx - Ability details
client/src/pages/AbilityDetailPage.jsx - Type chart
client/src/pages/TypeChartPage.jsx - Pokémon utilities
client/src/utils/pokemonUtils.js - Champion sprites
client/src/utils/championsSprite.js
League of Legends
- LoL predictions
client/src/pages/PredictionPage.jsx - GPR rankings
client/src/components/GprTable.jsx - Team panel
client/src/components/TeamPanel.jsx - Team modal
client/src/components/TeamModal.jsx - Team profiles
client/src/pages/TeamPage.jsx - Player profiles
client/src/pages/PlayerPage.jsx - Live matches
client/src/components/LiveMatches.jsx - Live score utility
client/src/utils/liveScores.js - Role icons
client/src/components/RoleIcon.jsx
API and data
- Match simulator
scripts/simulateLol.mjs - Standings data job
scripts/fetchStandings.mjs - Roster data job
scripts/fetchRosters.mjs - Player stats job
scripts/fetchPlayerStats.mjs - GPR data job
scripts/fetchGpr.mjs - Express API
server/index.js - Live-match service
server/lolLive.js
Other components
- Site visitor
- LoL esports feeds
Connections 32
- Site visitor → React application: opens
- React application → Pokédex layout: routes to
client/src/App.jsx - React application → Pokédex: routes to
client/src/App.jsx - React application → Pokémon details: routes to
client/src/App.jsx - React application → Ability list: routes to
client/src/App.jsx - React application → Ability details: routes to
client/src/App.jsx - React application → Type chart: routes to
client/src/App.jsx - React application → LoL predictions: routes to
client/src/App.jsx - React application → Team profiles: routes to
client/src/App.jsx - React application → Player profiles: routes to
client/src/App.jsx - Pokémon details → Pokémon utilities: uses
client/src/pages/PokemonDetailPage.jsx - Pokémon details → Champion sprites: uses
client/src/pages/PokemonDetailPage.jsx - Pokédex → Pokémon utilities: uses
client/src/pages/PokedexPage.jsx - Pokédex → Champion sprites: uses
client/src/pages/PokedexPage.jsx - Ability details → Pokémon utilities: uses
client/src/pages/AbilityDetailPage.jsx - Ability details → Champion sprites: uses
client/src/pages/AbilityDetailPage.jsx - LoL predictions → Live matches: renders
client/src/pages/PredictionPage.jsx - LoL predictions → Live score utility: applies scores
client/src/pages/PredictionPage.jsx - LoL predictions → GPR rankings: renders
client/src/pages/PredictionPage.jsx - LoL predictions → Team panel: renders
client/src/pages/PredictionPage.jsx - Team panel → Role icons: renders
client/src/components/TeamPanel.jsx - Team modal → Role icons: renders
client/src/components/TeamModal.jsx - Team profiles → Role icons: renders
client/src/pages/TeamPage.jsx - Player profiles → Role icons: renders
client/src/pages/PlayerPage.jsx - Express API → Live-match service: calls
server/index.js - Live-match service → LoL esports feeds: requests live data
server/lolLive.js - Live matches → Express API: requests live route
- Standings data job → LoL esports feeds: fetches data
- Roster data job → LoL esports feeds: fetches data
- Player stats job → LoL esports feeds: fetches data
- GPR data job → LoL esports feeds: fetches data
- Match simulator → LoL predictions: supplies results