doerfli / covid-numbers

Swiss Covid-19 Stats

Home Page:https://www.covid19-data.ch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Swiss Covid-19 Stats

https://www.covid19-data.ch

License:MIT License


Languages

Language:Vue 68.2%Language:TypeScript 27.0%Language:Dockerfile 1.7%Language:JavaScript 1.5%Language:Shell 1.1%Language:HTML 0.6%