How computa-gr-bd/scout works
ScoutVision is a football scouting and analysis platform: provider data is collected and stored, exposed through a FastAPI backend, then explored through a React interface. Users browse matches, teams and players, and use reports, comparisons, and tactical visualizations. The graph preserves the documented ingestion-to-interface flow and major analysis capabilities. Source excerpts and the README support the shown relationships; several domain modules are indexed but unsampled, so their internal calls are not inferred.
Main entry points: api Domain API routes · pages Scouting pages · models.py Football data store · services Provider collectors
Components 21
Collection and data
- Provider collectors
backend/app/services - Understat sync
backend/app/services/understat_sync.py - Football data store
backend/app/db/models.py
Backend and analysis
- API application
backend/app/main.py - Domain API routes
backend/app/api - Data repositories
backend/app/repositories/repositories.py - Season scope
backend/app/services/scope.py - Lineups
backend/app/services/lineups.py - Standings
backend/app/services/standings.py - Match Studio data
backend/app/services/studio.py - Player profiles
backend/app/services/player_profile.py - Scouting indices
backend/app/services/position_index.py - Match reports
backend/app/services/predictions.py - Crest resolution
backend/app/services/crests.py
Web experience
- Web navigation
frontend/src/App.tsx - Typed API client
frontend/src/api/client.ts - Scouting pages
frontend/src/pages - Tactical Studio
frontend/src/components/PitchStudio.tsx - Shared UI
frontend/src/components/ui.tsx
Other components
- Scouting user
- Football data providers
Connections 21
- Football data providers → Provider collectors: supply data
- Provider collectors → Football data store: persist records
backend/app/services/index_service.py - Football data providers → Understat sync: supply match events
- Understat sync → Football data store: write events
backend/app/services/understat_sync.py - Football data store → Data repositories: query records
backend/app/repositories/repositories.py - API application → Domain API routes: register routes
backend/app/main.py - Domain API routes → Data repositories: read domain data
backend/app/api/competitions.py - Domain API routes → Season scope: apply season scope
backend/app/api/competitions.py - Domain API routes → Standings: retrieve standings
backend/app/api/competitions.py - Domain API routes → Crest resolution: resolve crests
backend/app/api/competitions.py - Domain API routes → Match Studio data: build match data
backend/app/api/matches.py - Domain API routes → Lineups: retrieve lineups
backend/app/api/matches.py - Domain API routes → Match reports: build reports
backend/app/api/matches.py - Domain API routes → Player profiles: build profiles
backend/app/api/players.py - Domain API routes → Scouting indices: calculate indices
backend/app/api/players.py - Scouting user → Web navigation: browse
- Web navigation → Scouting pages: route to pages
frontend/src/App.tsx - Scouting pages → Typed API client: request data
frontend/src/pages/Analysis.tsx - Typed API client → API application: call API
- Scouting pages → Tactical Studio: render match analysis
frontend/src/pages/Analysis.tsx - Tactical Studio → Shared UI: render controls
frontend/src/components/PitchStudio.tsx