Skip to content

tedwardlewu/Apex-Stats

Repository files navigation

Apex Stats

Apex Stats is a Formula 1 analytics dashboard built with React, TypeScript, and Vite.

It includes standings, race analytics, comparison views, prediction widgets, and an F1 news feed, with a fast frontend workflow powered by local service data.

Features

  • Multi-tab dashboard: Overview, Standings, Analytics, Results, Predictions, Calendar, News, Compare
  • Season-aware filtering (currently focused on 2025 and 2026 datasets)
  • Driver and team comparison UI
  • Visual analytics using Recharts and Chart.js
  • Rich media assets for drivers, teams, cars, and news cards
  • Database SQL scripts and Supabase function scaffolding for backend evolution

Tech Stack

  • React 18
  • TypeScript
  • Vite 6
  • Tailwind CSS 4
  • Recharts + Chart.js
  • Radix UI + MUI components
  • Supabase CLI/tooling

Requirements

  • Node.js 20+
  • npm 9+

Quick Start

npm install
npm run dev

Scripts

  • npm run dev - start the local development server
  • npm run build - create the production build in dist/

Data Source (Current State)

The current UI is powered by local/mock services while backend integration continues:

  • src/app/services/api.ts
  • src/app/services/driverStatsApi.ts

This keeps iteration fast and deterministic during UI and feature development.

Project Layout

src/
  app/
    App.tsx
    components/
    contexts/
    data/
    services/
    utils/
public/
  Cars/
  Countries/
  Driver Images/
  Drivers 2025/
  Team Images/
  News/
database/
  f1_schema.sql
  f1_views.sql
  f1_procedures.sql
  f1_triggers.sql
  f1_2025_season_data.sql
supabase/
  functions/server/

About

Student Made F1 Statistics Analytics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors