Anton 92cf94aa5b feat(frontend): add race details page with completed metrics
Implement race detail routing and UI with client-side pace calculation so completed race metrics are visible from the calendar flow.

Made-with: Cursor
2026-04-06 17:48:11 +03:00
2026-04-06 16:14:14 +03:00

Calendar Run

Calendar Run is a races calendar project with a backend API for storing and querying race events.

Quick Start

  1. Install dependencies:
  • cd backend
  • npm install
  1. Configure environment variables in backend/.env:
  • DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORD
  • Optional API port: PORT (priority) or API_PORT
  • No PostgreSQL (CI / local smoke): set CALENDAR_RUN_MOCK_DB=1 (or true). Real DB_* values are not required; the API uses in-memory stubs for SQL used by the HTTP routes. Do not use mock mode for npm run db:migrate or npm run seed.
  1. Build and run backend:
  • npm run build
  • npm run dev

By default, the API listens on port 3001 if PORT and API_PORT are not set.

Backend And API Docs

Description
No description provided
Readme 16 MiB
Languages
TypeScript 82.7%
CSS 17.1%
HTML 0.1%