Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prantlf/covid-19-brief
Briefly compares trends of active cases and new deaths connected to Covid-19 per week and country.
https://github.com/prantlf/covid-19-brief
covid covid-19 heroku statistics trends
Last synced: 8 days ago
JSON representation
Briefly compares trends of active cases and new deaths connected to Covid-19 per week and country.
- Host: GitHub
- URL: https://github.com/prantlf/covid-19-brief
- Owner: prantlf
- License: mit
- Created: 2021-01-24T15:10:59.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T01:07:20.000Z (almost 4 years ago)
- Last Synced: 2024-12-05T18:11:46.332Z (2 months ago)
- Topics: covid, covid-19, heroku, statistics, trends
- Language: JavaScript
- Homepage: https://covid-19-brief.herokuapp.com/
- Size: 329 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# Covid-19 Brief Trends
[![Build Status](https://github.com/prantlf/covid-19-brief/workflows/Test/badge.svg)](https://github.com/prantlf/covid-19-brief/actions)
[![Dependency Status](https://david-dm.org/prantlf/covid-19-brief.svg)](https://david-dm.org/prantlf/covid-19-brief)
[![devDependency Status](https://david-dm.org/prantlf/covid-19-brief/dev-status.svg)](https://david-dm.org/prantlf/covid-19-brief#info=devDependencies)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)[![prantlf/covid-19-brief](http://dockeri.co/image/prantlf/covid-19-brief)](https://hub.docker.com/repository/docker/prantlf/covid-19-brief/)
Briefly compares trends of active cases, new deaths and hospital occupancy connected to Covid-19 per week and country. Offers a rough overview of the virus momentum. Uses data from [ECDC]. See the current state [on-line].
![Example](./internal/example.png)
## Run
You can run the same service as runs [on-line] on your machine using [Docker] imaghe [prantlf/covid-19-brief].
docker run --rm -it --name covid-19-brief -e PORT=5000 -p 5000:5000 \
prantlf/covid-19-brief## Build
Make sure that you have [Node.js] >= 12 installed. Clone the repository, install the dependencies and start the server. You can use `npm` or `yarn` instead of `pnpm`.
git clone https://github.com/prantlf/covid-19-brief.git
cd covid-19-brief
pnpm i
node generateThis will generate the home page and graph images. You can open the HTML page `public/index.html` in a web browser.
PORT=80 npm start
This will update the generated web site, start a web server on the specified port and wait for updates. You can open the HTML page `public/index.html` in a web browser.
You can also build and run the [Docker] image from the local sources using [Make].
make lint build run
## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Lint your code using `npm test`.
## License
Copyright (c) 2018-2021 Ferdinand Prantl
Licensed under the MIT license.
Icon made by [srip from www.flaticon.com].
[on-line]: http://covid-19-brief.herokuapp.com/
[ECDC]: https://opendata.ecdc.europa.eu/
[Node.js]: https://nodejs.org/
[Docker]: https://www.docker.com/
[Make]: https://www.gnu.org/software/make/
[srip from www.flaticon.com]: https://www.flaticon.com/free-icon/coronavirus_2833315
[prantlf/covid-19-brief]: https://hub.docker.com/repository/docker/prantlf/covid-19-brief