This project was built with the intention of creating a webapp that serves the purpose of recording basketball scores, which include player scores, and team scores on the court, while also providing a real-time analysis and calculation of team/ player statistics to help a local basketball team grow.
The idea was that local basketball teams don't have the time and resources to hire an analytics team to help with analyzing player combinations and player / team performancesm, leading to non data driven adjustments. This website will serve as a platform to integrate posts, player management, score-tracking, and analysis all in one place.
To access the web app please use the test user:
Account: TestUser1
Password: test123123
- Django
- Python
- JavaScript
- PostGreSql
- Javascript
- Jquery
- Css
To use the django framework:
pip install Django
Other dependencies include:
- django-crispy-forms
- PILLOW
-
Clone the repo
git clone https://github.com/Justin19960919/BasketStat.git -
Activate virtual environment
source env/bin/activate -
Make migrations to populate db
python manage.py makemigrations python manage.py migrate
-
Run server
python manage.py runserver -
Visit local host Go to http://localhost:8000/
An user is a whole basketball team, different teams can't access each others information.
-
Landing Page
-
Register/ Login / Logout
- User needs to register in order to user the app
- Upon register success, we create profile in the backend
-
Profile
- User can modify Profile, including change user profile picture
- change information , e.g. Email
-
Posts
- B.c. a whole team shares an account, they can post about their feelings or thoughts regarding the game or practice.
- Games
- CRUD functionality
- Keep track of all the games the team has played.
- Game Details
- Details of the game (display information about the game when creating)
- Access to player statistics in that game
- Record in game
- Record the game in real time, upon creation of the game
- Moves include scoring, rebounds, steals, assists, fouls .. etc
- Automatic logging of play by play records when recording in the backend
- Comments
- Comment about the game (what can be done better ..)
- Statistics
- Automatic calculation of player and team statistics, and high level statistics including efg% (effective field goal pecentage), TS% (true shooting percentage ..etc)
- Visualization using chart.js
- Players
- Create / Delete players to the team
- Once a player is created, upon creation of a game, the user is asked which players are to play in the game.
- automatic calculation of player history statistics








