Prabhkirat Dhaliwal
This is a basketball statistics website that allows users to view and search for player statistics. The project is built using HTML for the front end and Python (Flask) for the back end. The data is stored in an SQLite database.
The repository contains the following files and folders:
-
templates/- Folder containing the HTML documents.index.html- The main landing page of the website.player.html- Page for displaying individual player statistics.search.html- Page for searching player statistics.
-
database.db- The SQLite database that is used in the project. -
main.py- Source code for the backend implementation. -
README.txt- This file.
- Python 3.x
- Flask
- SQLite
-
Clone the repository:
git clone https://github.com/your-username/basketball-statistics-website.git
-
Navigate to the project directory:
cd basketball-statistics-website -
Install the Python packages:
pip install -r requirements.txt
-
Initialize the database:
python init_db.py
-
Start the Flask development server:
flask run
-
Open your web browser and go to
http://127.0.0.1:5000.
- Visit the main landing page to see a list of players and their statistics.
- Use the search functionality to find specific players.
- Click on a player's name to view detailed statistics.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.