Add React race hub frontend

This commit is contained in:
2026-05-25 01:10:44 -04:00
parent e08255db70
commit 32d500f5af
29 changed files with 5976 additions and 105 deletions

33
frontend/README.md Normal file
View File

@@ -0,0 +1,33 @@
# box-box Web Frontend
React Race Hub slice for the production Web UI.
## Commands
```bash
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:
```bash
go run cmd/main.go --web
```
Then open the React app, usually:
```text
http://localhost:5173/race-hub
```
Load an ingested session with:
```text
http://localhost:5173/race-hub?session_key=9472
```