This is built and deployed with netlify.
The build process is configured in npm scripts and the netlify.toml config file.
The master branch has continuous deployment set up for prod (for both the site and the lambda functions). Branch builds are deployed when commits are pushed up to this repo.
The following url can be passed to return a date with some nba games:
http://www.worthawatch.today?date=20160429
Locally you can use the ?localDev
querystring to give you some data to work with.
# install dependencies
npm install
# serve the static site with hot reload at localhost:8080
npm run dev
# build the site and the lambda
npm run build
# build the site only
npm run build-site
# build the functions only
npm run build-functions
# run tests
npm run test