Visualize NBA players' efficiency from various spots in the half-court. Leveraging nba_api and shotchart.d3.ts.
First create .env in project root and add VITE_API_HOST=http://127.0.0.1:8000
-
Run:
docker compose up -d --build
-
Navigate to: http://127.0.0.1:5174
-
From the
frontendfolder:npm run dev
-
From the
backendfolder (inside your Python environment):uvicorn main:app --reload --host 127.0.0.1 --port 8000