mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
Introduce a reusable SVG chart primitive for lap-by-lap cumulative time delta vs a reference driver, with pure math in lib/delta.ts, dedicated styles, null-lap gap handling, and Vitest coverage for math and rendering. Co-authored-by: Cursor <cursoragent@cursor.com>
box-box Web Frontend
React Race Hub slice for the production Web UI.
Commands
npm install
npm run dev
npm test -- --run
npm run build
The Vite dev server proxies /api requests to the Go server on
http://localhost:8080.
Run the backend separately:
go run cmd/main.go --web
Then open the React app, usually:
http://localhost:5173/race-hub
Load an ingested session with:
http://localhost:5173/race-hub?session_key=9472