swello
TODO server code for- scrape html instead of txt
- persist scraped forecasts on graph.cool
- update swello to use GraphQL API
- highlight zones with hazards on map
How to use
1. Create .env file in root with
NODE_ENV="production"
SENTRY_DSN="sentry DSN key found under project settings"
GRAPHQL_ENDPOINT="graphql endpoint"
2. Install dependencies
yarn
3. Run
yarn test-watch #start jest in watch mode
yarn test-update #update jest snapshots
yarn build #strip flow types and output to /build/
yarn start #start app