- stats.nba.com has stopped hosted api calls to their website (which sucks becuase I had this working for a month)
but it does work locally here are instruction to get this working locally
-
install node you can do that by going here https://nodejs.org/en/download/
-
make sure you have git installed I assume you will becuase this is github (if not here is some help https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
-
clone the repo: git clone https://github.com/nharrisanalyst/shotChart.git
-
cd into the repo: cd shotChart
-
install dependencies: npm install
-
start the app with node: node nodeServer.js
-
open your browser to http://localhost:8125/