Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djpowers/baseball-run-differentials
Visualizations of wins, losses, and the run differentials for each game for each MLB team
https://github.com/djpowers/baseball-run-differentials
Last synced: 27 days ago
JSON representation
Visualizations of wins, losses, and the run differentials for each game for each MLB team
- Host: GitHub
- URL: https://github.com/djpowers/baseball-run-differentials
- Owner: djpowers
- Created: 2018-03-17T04:01:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T20:34:31.000Z (about 2 years ago)
- Last Synced: 2024-11-01T02:05:09.234Z (3 months ago)
- Language: JavaScript
- Homepage: https://baseball-run-differentials.herokuapp.com/
- Size: 2.5 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Baseball Run Differentials
A project built using [D3.js](https://d3js.org/) for [Baseball Hack Day](http://www.baseballhackday.com/) 2018. It uses an Express server as a proxy to query the [MySportsFeeds API](https://www.mysportsfeeds.com/data-feeds/) for MLB game data.
Allows you to toggle between teams to view run differentials for each game played.
## Installation
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.
## Deployment
The project is set up to be deployed to Heroku via a [Heroku-specific build step](https://devcenter.heroku.com/articles/nodejs-support#heroku-specific-build-steps), which will take care of building assets for production after deployment.