Skip to content

stfurkan/pancovid19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAN COVID-19

COVID-19 Statistics Dashboard

Getting Started

Prequisites

  • Node.js
https://nodejs.org/en/download/
  • Python 3
https://www.python.org/downloads/

Installation

  1. Clone the repo
git clone https://github.com/stfurkan/pancovid19.git
  1. Install Python package
pip3 install pandas pmdarima
  1. Change directory to client
cd client
  1. Install NPM packages
npm install

Development and Deployment

React (client)

  • Change directory to client
cd client

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Python 3 (python)

  • Change directory to python
cd python
  • Run createCovidJson.py file to create JSON files for the client
python3 createCovidJson.py
  • Run forecast.py file to create forecast JSON files
python3 forecast.py
  • Copy JSON files to client/src directory
cp covid.json ../client/src/.
cp graph.json ../client/src/.
cp covidForecast.json ../client/src/.
cp graphForecast.json ../client/src/.
cp updated.json ../client/src/.
  • If you want to get most up to date data into the JSON files, you should update your datasets from JHU CSSE.

Features

  • Shows total confirmed, recovered and death COVID-19 cases by country
  • Shows daily statistics for every country
  • Shows forecasts using ARIMA model
  • Compares up to 4 countries
  • Total data for all countries and daily data for every country can be exported as CSV
  • Charts
  • Map
  • Supports Turkish and English languages (based on browser language)

Built With

  • Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • React - A JavaScript library for building user interfaces.
  • Python3 - Python is a programming language that lets you work quickly and integrate systems more effectively.

Contributing

All contributions are welcome!

  1. Fork the project
  2. Create your branch (git checkout -b feature/featureName)
  3. Commit your changes (git commit -m 'Short details about the change')
  4. Push to the branch (git push origin feature/featureName)
  5. Open a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • This application uses the data provided by JHU CSSE.

About

COVID-19 Statistics Dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published