In order to run the application:
- Run
npm install
in the root directory and in thepower-rankings
directory. - Download ngrok and forward port 5000 with
./ngrok http 5000
- Create a Yahoo App, set the the redirect URL to the ngrok URL (
http://aaaaaaaa.ngrok.io/auth/callback
), and only ask for Fantasy Sports Read permissions. - Fill in
power-rankings/src/tokens.js
with the tokens from Yahoo and the ngrok URL. - Run
npm run server
in the root directory to start the backend server. - Run
npm run ui
in the root directory to start the frontend server.