How alexscheer90/app2point0 works
This is a mobile-first MACtion sports companion: fans browse scores and schedules, then explore school profiles, stats, standings, news, rivalries, sounds, local food and podcasts. The client routes these experiences and fetches app data through hooks and API helpers; server routes expose schedule, score, preference, import and live-stat operations backed by provider-specific services. The README documents the broad product branches, though source excerpts do not establish every page’s wiring. The graph preserves those branches and limits arrows to relationships visible in excerpts or the SOURCE INDEX.
Main entry points: App.tsx App routing · routes.ts API routes · useScores.ts Score hooks · useSchool.ts School data
Components 34
Fan experience
- App routing
client/src/App.tsx - Scores
client/src/pages/ScoresPage.tsx - Schedule
client/src/pages/SchedulePage.tsx - Game details
client/src/pages/GameDetails.tsx - Game stats
client/src/pages/GameStatsPage.tsx - School profile
client/src/pages/SchoolProfile.tsx - Standings
client/src/pages/StandingsPage.tsx - News
client/src/pages/NewsPage.tsx - Podcasts
client/src/pages/PodcastPage.tsx - School sounds
client/src/pages/SoundsPage.tsx - Local eats
client/src/pages/LocalEatsPage.tsx - Rivalries
client/src/pages/RivalriesPage.tsx - Schools
client/src/pages/SchoolsPage.tsx
Client data
- Query cache
client/src/lib/queryClient.ts - Score hooks
client/src/hooks/useScores.ts - MAC calendar
client/src/hooks/useMacCalendar.ts - School data
client/src/hooks/useSchool.ts - Favorite school
client/src/components/FavoriteSchoolModal.tsx - API client
client/src/lib/api.ts
Server API
- API routes
server/routes.ts - Import routes
server/routes/importer.ts - Live-stat routes
server/routes/livestats.ts - Preference storage
server/storage.ts - Shared data schema
shared/schema.ts
Sports data providers
- Data importer
server/services/dataImporter.ts - Unified live data
server/services/unifiedDataService.ts - SIDEARM stats
server/services/sidearmService.ts - School feed config
server/config/schoolFeeds.ts - NCAA scoreboard
server/services/ncaaService.ts - ESPN scoreboard
client/src/services/espnScoreboardService.ts - NCAA client services
client/src/services/ncaaApiService.ts - Standings scraper
server/services/googleSheetsService.ts
Other components
- MAC fan
- Sports data feeds
Connections 39
- MAC fan → App routing: opens
client/src/App.tsx - App routing → Scores: routes to
client/src/App.tsx - App routing → Schedule: routes to
client/src/App.tsx - App routing → School profile: routes to
client/src/App.tsx - App routing → News: routes to
client/src/App.tsx - App routing → Standings: routes to
client/src/App.tsx - App routing → Rivalries: routes to
client/src/App.tsx - App routing → School sounds: routes to
client/src/App.tsx - App routing → Local eats: routes to
client/src/App.tsx - App routing → Podcasts: routes to
client/src/App.tsx - App routing → Game stats: routes to
client/src/App.tsx - App routing → Game details: routes to
client/src/App.tsx - Schedule → Score hooks: uses
client/src/pages/SchedulePage.tsx - Score hooks → MAC calendar: calls
client/src/hooks/useScores.ts - Scores → Score hooks: uses
- Score hooks → Query cache: queries through
- MAC calendar → API routes: requests calendar
- API routes → NCAA scoreboard: fetches scoreboard
server/routes.ts - NCAA scoreboard → Sports data feeds: fetches games
- Scores → ESPN scoreboard: score source
- ESPN scoreboard → NCAA client services: imports
- Game details → School data: uses
client/src/pages/GameDetails.tsx - Game stats → API client: requests data
client/src/pages/GameStatsPage.tsx - Game stats → NCAA client services: uses
client/src/pages/GameStatsPage.tsx - News → School data: uses
client/src/pages/NewsPage.tsx - Local eats → School data: uses
client/src/pages/LocalEatsPage.tsx - Favorite school → School data: uses
client/src/components/FavoriteSchoolModal.tsx - Favorite school → API client: requests preferences
client/src/components/FavoriteSchoolModal.tsx - API routes → Preference storage: updates preferences
server/routes.ts - API routes → Import routes: mounts routes
server/routes.ts - API routes → Live-stat routes: mounts routes
server/routes.ts - Import routes → Data importer: calls
server/routes/importer.ts - Live-stat routes → Unified live data: calls
server/routes/livestats.ts - Unified live data → SIDEARM stats: fetches and parses
server/services/unifiedDataService.ts - SIDEARM stats → School feed config: uses feed config
server/services/sidearmService.ts - SIDEARM stats → Sports data feeds: fetches stats
- Standings scraper → Sports data feeds: scrapes standings
server/services/googleSheetsService.ts - Shared data schema → Preference storage: defines records
- School profile → API client: school data access