A simple vanilla js website to visualize the city run covid centers, as reported through the NYC H&H COVID-19 testing sites. Many thanks to ctbarna's open source project covid-wait-times releasing the wait times at each location.
The scraper requires Node v11+, a google API token for geolocation, and the mapbox component requires a mapbox access token. Add those in your terminal or in an .env
file:
GOOGLE_API_KEY=[token]
NODE_ENV_MAPBOX_ACCESS_TOKEN=[token]
To scrape, from the root directory, run:
node scripts/testingsites_collect.js
Just the usual:
npm i
npm run start
or
yarn
yarn start