A project built using D3.js for Baseball Hack Day 2018. It uses an Express server as a proxy to query the MySportsFeeds API for MLB game data.
Allows you to toggle between teams to view run differentials for each game played.
To run, copy .env.example
to .env
and add your MySportsFeeds API username and password. Install dependencies by running yarn
from the project root, and also from the client
directory. From the root directory, run npm start
to run both the Express server and front-end.
The project is set up to be deployed to Heroku via a Heroku-specific build step, which will take care of building assets for production after deployment.