Home

Awesome

covid-numbers

About this project

This project shows Covid-19 data for Switzerland and its cantons. Displayed values are confirmed cases, incidence numbers, hospitalization as well as icu counts and the number of deceased.

All data is directly retrieved from the doerfli/foph-covid19-data repository without any backend to handle the data.

The frontend is build using Vue.js and Typescript, the graphs are rendered with d3.js. Styling is done using tailwindcss. To keep things interesting I have added continuous deployment to Github pages and a Heroku site (with a Container) using Github Actions.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run container manually

docker run -p 8080:8080 -e PORT=8080 <imageid>

Release new version

git switch main && git pull && git merge develop && git push && git switch develop