Timeline of the spread of COVID-19.
I wanted to have a visualisation of the spread which also shows the decline in numbers as people recover. But also try some tech!
- Vue 3
- Google Maps API
- Cloud Functions
- Netlify
npm install
npm run serve
npm run build
The function is just a proxy over the data source to avoid CORS. The source is in the project, but is deployed manually at GCP console currently.
Public API key is restricted to https://covid-19-timeline.netlify.com/
For local development, add VITE_API_KEY=TOKEN
to a .env.development.local
file with a secret key not restricted to a website.
Tool for styling the map: mapstyle.withgoogle.com/