Skip to content

todokku/coronatracker-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19 Coronavirus Tracker

Tracking the trends and movements of the COVID-19 virus. Visit the site here.

The trends of the virus are visualized through interactive graphs and tables that show the movement on a per-country or global basis. These visualizations show:

  • The total number of cases (confirmed & deaths)
  • The rate of change per day
  • The acceleration per day
  • The exponential trajectory path

The data is accmulated from the John Hopkins University CSSE repository.

Now supporting live news about COVID-19 and travel alerts on a per-country basis!

⭐ If you wish to stay notified or show support, please consider starring this repo! ⭐

Demos

Country Search

Search demo

Top Movers

Top Movers demo

Peak Table

Peak demo

Heat Map

Heat Map demo

News

News demo

Usage Locally

This project runs on a React frontend managed by npm and a Python3 backend routed by Flask. Alternatively, you can use a Docker container to encapsulate the project.

Installing

Use the package manager pip to install the requirements for the backend microservice component:

cd flask-microservice
virtualenv <your-venv>
source <your-venv>/bin/activate
pip install -r requirements.txt

Alternatively, use the provided Docker script to create a Docker container of the project:

./flask-microservice/docker-init.sh

Make sure to have node and npm installed on your machine. This frontend component is running on node v10.15.0.

node -v
npm -v

Running

In a terminal shell, run the following to start the microservice server.

python flask-microservice/server.py

Alternatively, if built through the Docker container, run the following script:

./flask-microservice/docker-run.sh

In another shell, run the following to start a local instance of the website on your machine.

cd coronatracker
npm install
npm start

License

MIT

About

Track the trends and movements of the COVID-19 virus

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.6%
  • Python 18.9%
  • HTML 2.4%
  • Other 1.1%