Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sample-data
src
test/functions/fetch-scores
.babelrc
.gitignore
netlify.toml
package-lock.json
package.json
readme.md

readme.md

The front end for worthawatch.today

This is built and deployed with netlify.

Deployment process

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.

Testing

The following url can be passed to return a date with some nba games:

http://www.worthawatch.today?date=20160429

Local Dev

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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.