Skip to content

gtynan/tennis_sql

Repository files navigation

Tennis SQL

Overview

  • FastAPI webserver for easier querying of Jeff Sackman's women's tennis csv files.
  • Data stored in MySQL database.
  • Redis server ingests data on startup and 00:00 daily.

Setup

  1. Git clone to local machine.
  2. Configure constants depending on wants and needs (i.e. vary start date)
  3. Create .env file (rename .test.env and configure variables, variables in current form will run successfully)
  4. Docker build and run
docker-compose build
docker-compose up
  1. Server live at: 0.0.0.0:5000 (docs found at /docs)

Notes

Todo

  • DB schema file
  • Additional routes (all games in a tournament, all games played by single player)
  • Improve tests

About

Jeff Sackman's tennis data as a REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages