https://github.com/matsuuu/finnish-corona-statistics
A repo for a basic site displaying some basic COVID-19 statistics in finland
https://github.com/matsuuu/finnish-corona-statistics
Last synced: 2 months ago
JSON representation
A repo for a basic site displaying some basic COVID-19 statistics in finland
- Host: GitHub
- URL: https://github.com/matsuuu/finnish-corona-statistics
- Owner: Matsuuu
- Created: 2020-03-09T23:33:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T06:27:35.000Z (about 2 years ago)
- Last Synced: 2025-04-15T19:09:08.092Z (2 months ago)
- Language: JavaScript
- Size: 1.96 MB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# finnish-corona-statistics
A repo for a basic site displaying some basic COVID-19 statistics in finlandPreviously Hosted at https://corona.matsu.fi . Now discontinued
Use as you wish
Technology used:
- Lit Element
- ChartJS
- Webpack
- DayJS
- Node-Fetch### Running the environment
Navigate to the root of the project, and run `./run-server.sh`
This will initiate a custom script running ES dev server and Webpack.
### Fetching latest information from the API
Due to the request of the API host, data will not be fetched every time a user visits the site, but every hour using a cron job.
To manually fetch corona data, navigate to `/data-gatherer` and run `node data-gatherer.js`.
A `corona-data.json` -object will appear in the root of the project, which the frontend will read.