This is the front end source code for https://covid.laney.tech, an interactive map displaying cumulative Covid-19 cases and deaths for US counties. The backend API and database source code can be found at https://github.com/laneysmith/covid-map-api.
Data from the NY Times covid-19-data project, based on reports from state and local health agencies.
- Install project dependencies:
yarn install
- Run
yarn copy-env
to copy the.env.local.example
contents into a new.env.local
file. ReplaceYOUR_TOKEN_HERE
with your Mapbox token. - Start the client:
yarn start
- Clone and start the covid-map-api project on port 5000.
- Visit
http://localhost:3000
in your browser.