An awesome tool to visualize NBA stats!
Explore the docs »
Report Bug
·
Request Feature
Our Project is live!!
Welcome to the NBA Watcher Visualization Website, the ultimate platform for basketball enthusiasts to explore in-depth statistics and trends from the National Basketball Association (NBA). Our project is dedicated to constructing a comprehensive database filled with NBA statistics and insights, centering on individual player stats and team records. The goal is to analyze and track the performance of players in depth. Therefore, our site offers interactive data presentations, player performance tracking, and historical data comparison to bring fans closer to the game they love.
- Player Search: Quickly find player profiles with current season stats.
- Interactive Filters: Refine player lists based on specific stat ranges.
- Seasonal Data: Compare player statistics across different seasons.
- Top Performers: View top 5 players for points, rebounds, assists, and more.
- Most Improved Players: Highlight players with the most significant improvements.
- Data Trends: Visualize a player's career progress with interactive charts.
Here are major frameworks/libraries we used to build our project.
This project uses Python Flask for backend framework, React for frontend, and mySQL for database.
- Locate
NBA_db.sql
in the main folder. - Use MySQL Workbench or a similar tool to import and populate the database.
- fter populating the database, configure the database connection parameters in
nba-stats-server/app.py
:- host: Your local host address (usually 'localhost')
- username: Your MySQL username
- password: Your MySQL password
- database: The name of your populated database
- Navigate to the
nba-stats-server
directory and Install the required Python dependencies:
cd nba-stats-server
pip install -r requirement.txt
- Start the backend server:
python app.py
- In the
nba-stats-frontend/src/const.js
file, update thebase_url
to your backend address (if running locally, this will behttp://127.0.0.1:5000
in most cases). - Move to the
nba-stats-frontend
directory and install the necessary Node.js dependencies:
cd nba-stats-frontend
npm install
- Start the frontend application:
npm start
- Access the frontend in a web browser at
http://localhost:3000
.
Contributions are what make the development community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork this repo and create a pull request.
Don't forget to give the project a star! ⭐ Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b
) - Commit your Changes (
git commit -m 'RandomMessage'
) - Push to the Branch (
git push origin
) - Open a Pull Request
- Qianqi Huang - @QianqiHuang - qhuang35@jhu.edu
- Yujian (Ken) He - @Kennnnn774 - yhe99@jhu.edu