An NFL Quarterback Statistics Visualization Program. This program takes in user input from a form asking what type of Quarterback comparison graph the user would like to see, and then creates a unique graph for users to visually see the Quarterback statistical differences in any category!
Must have Node.js and Python installed on computer.
If you need to install, here are links to download them:
-
Python: https://www.python.org/downloads/ (When downloading Python, ensure you click the checkbox to add it to the PATH)
-
Node.js: https://nodejs.org/en/download
To open this project, fork this repository by going to the repository's main page, and click on the Fork button.
This will create a copy of this repository. For the sake of following these instructions, do not change the name of the repository.
Then go to the main page of this forked repository's page, then click on the <> Code button.
Then copy the link to clone it using HTTPS.
Now open your terminal in rlogin, and navigate to the root directory and type the following command:
Enter the following command:
git clone https://github.com/{YOUR USERNAME HERE}/StatsView.gitThis should create a new cloned copy of the project for you to have on rlogin. To open this project in VSCode, now you should be able to click File > Open Project and StatsView should be an option to open.
After this step, you should have the StatsView project open without a virutal environment set up yet. This is the next step.
To set up the virtual environment, type the following command
Use following command to navigate into the project directory:
cd StatsViewTo create the new virtual environment, use the following command:
python3.11 -m venv "StatsViewVenv"To start the virtual environment, run:
source ./StatsViewVenv/bin/activateNow your virtual environment should be ready, so kill this terminal and open a new Bash Terminal.
First, navigate into the backend directory by running the command:
cd backendThen in order to install the python dependencies used in the project, run the command:
pip install -r requirements.txtThis should ensure you have all the libraries necessary to create graphs and run the server. The final step is to start the server for the backend by running the command:
flask --app server runNext, open another bash terminal and ensure that you are in the StatsView Root Directory, and not in the backend. If you are, simply run cd ..
Then navigate into the frontend using the following command:
cd frontendThen, to get React and all the dependencies installed, run the command:
npm installFinally, to get the front end up and running, run the command:
npm startThis should finally load the program in your browser, and you should be good to go. Enjoy!