How argieee/esport_frontend works
This repository is an esports tournament and team-management application: visitors enter through a public landing site, log in, and reach a dashboard with tournament, roster, match-entry, and analytics areas. The sampled match-entry screen fetches teams and players and submits match and statistics data through the shared API utility; the backend handles API requests and accesses Supabase. The tree also shows bracket, rankings, prediction, administration, and audit capabilities. Their individual wiring is not established by the excerpts, and no README was provided, so those links are omitted where uncertain.
Main entry points: server.js Backend API server · App.jsx Route and session app · DataEntry.jsx Match data entry · Home.jsx Public landing pages
Components 20
Web entry
- Route and session app
esport_frontend/src/App.jsx - Public landing pages
esport_frontend/src/screens/landing/Home.jsx - Login screen
esport_frontend/src/screens/landing/LoginScreen.jsx - Dashboard shell
esport_frontend/src/screens/main/MainUIScreen.jsx
Tournament operations
- Tournament management
esport_frontend/src/screens/main/Tournament.jsx - Bracket management
esport_frontend/src/screens/main/Bracket.jsx - Match data entry
esport_frontend/src/screens/main/DataEntry.jsx - Standings calculation
esport_frontend/src/utils/calculateStandings.js - Match summaries
esport_frontend/src/screens/main/EntrySummary.jsx
Stats and insights
- Analytics dashboard
esport_frontend/src/screens/main/Analytics.jsx - Player rankings
esport_frontend/src/screens/main/PlayerRankings.jsx - Match predictions
esport_frontend/src/screens/main/Predictions.jsx - Player stats calculations
esports_backend/utils/statsCalculator.js
Admin and rosters
- Player management
esport_frontend/src/screens/main/PlayerManagement.jsx - Admin and audit
esport_frontend/src/screens/main/Admin.jsx
API and persistence
- Frontend API utility
esport_frontend/src/utils/api.js - Backend API server
esports_backend/server.js - Prediction logic
esports_backend/utils/predictor.js
Other components
- Visitor or user
- Supabase
Connections 12
- Visitor or user → Route and session app: opens
- Route and session app → Public landing pages: routes to
- Public landing pages → Login screen: opens login
- Route and session app → Dashboard shell: routes after login
- Tournament management → Bracket management: renders
- Match data entry → Frontend API utility: calls
- Frontend API utility → Backend API server: sends API requests
- Backend API server → Supabase: queries and updates
- Match data entry → Backend API server: submits match data
- Backend API server → Player stats calculations: calculates statistics
- Backend API server → Prediction logic: generates predictions
- Prediction logic → Supabase: reads match records