This is a Python/Flask app built to view and analyze NBA player statistics. The data is obtained through https://api-sports.io/ via API requests. The long term goal for this application is to train ML models to serve predictions on future player and team performance. These insights would help fantasy basketball enthusiasts make informed decisions in their fantasy leagues.
Poetry is used to manage package dependencies. You can learn more about poetry here, including how to install it on your machine.
- Activate the virtual environment:
poetry shell
- Install package dependencies:
poetry install
- Configure environment variables:
cp .env.example .env
- Run database migrations:
flask db upgrade
- Run the flask application:
poetry run flask run