Skip to content

StraightOuttaCrompton/ergast-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ergast api

A TypeScript implementation of the ergast-f1-api using the Ergast Formula One MySQL database developed by Chris Newell.

Based on NJS-ErgastF1API developed by Davide Albiero.

The goal of this project is to be a fast, extensible, and tested implementation with a solid foundation for future growth.

Feel free to explore a deployed example. This is an unstable environment intended for testing, so please do not use for production purposes.

Running locally

Start a the local mysql server

docker compose up

Once the mysql server is started, run the api using

yarn start

Useful commands

Connect to docker my sql instance

docker exec -it mysql-server mysql -u root -p

Then enter database password f1

Remove all docker cache

To rebuild the mysql db from scratch and ensure that no cache remains, use the following (Warning the rebuild will take a while).

docker system prune --all --force
docker compose up
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy