NBA schedule with local times. Useful for fans watching from across the pond.
- Filter schedule by local times, e.g. show only games that start between 6am and 10pm your time. You can use the
up
anddown
arrow keys andenter
to quickly adjust the filter. (minutes are ignored by choice) - Export game as a calendar event. (.ics)
- View complete schedule.
- View period and score of active games. (when data available)
Clone the repository and change into its folder. Install dependencies:
npm install
Run with:
npm start
# will run at http://localhost:3000
To create a production build that you can self-host, or run from the file system:
npm run build
Afterwards copy everything from ./build
to your server, or just open index.html
.
You can adjust the default config by editing the file ./src/config.js
.
Used style guides (enforced with ESLint and stylelint):
- JavaScript: airbnb-base
- CSS: michaelx/code-guide
This project was bootstrapped with Create React App, so all its scripts are available.
npm start
npm test
npm run build
npm run eject
In addition I added:
npm run lint:js # uses eslint airbnb-base
npm run lint:css # uses .stylelintrc
This project uses an inoffical API. Use at your own risk.
Michael Xander