The formula is a set of serverless functions running on Supabase Edge Functions.
The formula-schedule.ts is a serverless function providing the most recent infomation of the race to the client-side.
- Clone this repo from GitHub.
- Copy the content of schedules.sql to Supabase Database Dashboard and run the script to create the table.
- Import the schedules.csv to Supabase Database Dashbord for inserting the data.
- Set up the Supabase Edge Functions and then fill the Supabase Database infomation in the .env file.
- Run the command
supabase functions deploy formula-schedule --project-ref your-project-ref --no-verify-jwt