React & Material-UI app consuming the Ergast API Formula One dataset.
View historical Formula One data back to 1950. Race results, qualifying, Driver's and Constructor's championship standings. Lap times and overtakes for each race.
Data supplemented by wikipedia
Follow instructions for the GitHub repo above to run the API locally. Couple tweaks to point this project there.
REACT_APP_API_URL=http://localhost:8000/api/f1
Connect to the DB for the API and run the following SQL
CREATE INDEX races_year_round_idx ON races (year, round);
CREATE INDEX races_circuit_idx ON races (circuitId);
CREATE INDEX results_driver_idx ON results (driverId);
This is a typical CRA using yarn.
yarn install
yarn start
yarn run build
- UI
- Nationalities
- Race Maps
- Data