How jwh3times/apexracers works
ApexRacers is an iRacing companion for comparing lap-time percentiles and choosing competitive cars in weekly series. Drivers enter through the React app, which routes catalog, series, race, driver, rival, and telemetry features; the API provides the corresponding product services and persists data. Separately, an ingestion worker acquires iRacing catalog and race data for the same database. The README documents these capabilities and the current access boundary; sampled source confirms selected routing, authentication, persistence, and race-detail reads, but not every feature’s internal calls.
Main entry points: App.tsx App routing · AppDbContext.cs EF data context · Program.cs ASP.NET API · Worker.cs Ingestion worker
Components 20
Web experience
- App routing
web/src/App.tsx - Series and schedule
web/src/features/series - Driver insights
web/src/features/driver - Race views
web/src/features/racing - Catalog explorer
web/src/features/catalog - Rivals and leaderboards
web/src/features/rivals - Telemetry uploads
web/src/features/telemetry
API and domain services
- ASP.NET API
src/ApexRacers.Api/Program.cs - Race details
src/ApexRacers.Api/Services/SubsessionDetailService.cs - Product services
src/ApexRacers.Api/Services
Persistence and domain
- EF data context
src/ApexRacers.Data/AppDbContext.cs - Race domain data
src/ApexRacers.Core/Models/Subsession.cs - Catalog and weeks
src/ApexRacers.Core/Models/Season.cs - PostgreSQL
Data acquisition
- Ingestion worker
src/ApexRacers.Ingestion/Worker.cs - Worker startup
src/ApexRacers.Ingestion/Program.cs
Identity lifecycle
- Authentication
src/ApexRacers.Api/Services/AuthService.cs - Authorization store
src/ApexRacers.Data/DriverAuthorityStore.cs
Other components
- Driver
- iRacing
Connections 21
- Driver → App routing: uses
web/src/App.tsx - App routing → Series and schedule: routes to
web/src/App.tsx - App routing → Driver insights: routes to
web/src/App.tsx - App routing → Race views: routes to
web/src/App.tsx - App routing → Catalog explorer: routes to
web/src/App.tsx - App routing → Rivals and leaderboards: routes to
web/src/App.tsx - App routing → Telemetry uploads: routes to
web/src/App.tsx - App routing → ASP.NET API: requests
README.md - ASP.NET API → Authentication: registers
src/ApexRacers.Api/Program.cs - ASP.NET API → Product services: registers
src/ApexRacers.Api/Program.cs - ASP.NET API → Race details: registers
src/ApexRacers.Api/Program.cs - ASP.NET API → EF data context: configures
src/ApexRacers.Api/Program.cs - Race details → EF data context: queries
src/ApexRacers.Api/Services/SubsessionDetailService.cs - EF data context → PostgreSQL: persists
- EF data context → Race domain data: maps
src/ApexRacers.Data/AppDbContext.cs - EF data context → Catalog and weeks: maps
src/ApexRacers.Data/AppDbContext.cs - Authentication → Authorization store: uses
src/ApexRacers.Api/Services/AuthService.cs - Authorization store → EF data context: queries
src/ApexRacers.Data/DriverAuthorityStore.cs - Worker startup → Ingestion worker: starts
src/ApexRacers.Ingestion/Program.cs - Ingestion worker → iRacing: acquires data
README.md - Ingestion worker → EF data context: writes
README.md