Skip to content

Gourav2000/Covid-19_status

Repository files navigation

Covid-19_status

The COVID-19-status Project collects information from all the countries of the world and all the states of india, to provide the most comprehensive testing data we can collect for the novel coronavirus, SARS-CoV-2.

This repository is for the project's website: https://covid-status-tracker.herokuapp.com/.

Development

The website is built on popular Python webbased framework Flask. If you are not familiar with Flask, we suggest checking out their excellent documentation.

Install and Run

First, you'll need Python 3.7 or a higher version to run this project:

You can check your python version with:

python --version

Additionally you will need a few dependencies in python,all the dependencies has been listed in requirements.txt You can simply install all dependencies at a go by running:

pip install -r requirements.txt

To run the website locally,In the root directory use: (also in app.py erase the '#' from app.run(debug=True) and comment out the other app.run to run it locally)

python app.py

The site is now running at http://127.0.0.1:5000. Any changes you make to code is live-updated as soon as you save the changes in app.py.

Alternatively you can also deploy it in heroku or firebase hosting(with google cloud run). the respective requirements.txt and dockerfile required are already provided. For help on heroku go to the official documentations page-https://devcenter.heroku.com/articles/getting-started-with-python For firebase hosting u can look at this for reference- https://medium.com/firebase-developers/hosting-flask-servers-on-firebase-from-scratch-c97cfb204579

Organization

Components of the project are organized as follows:

  • /home - This is main all the data is Visualised and shown of both world and india separately.
  • /analyis - Here all the data is annalyzed and future trends are predicted with graphical analysis and corresponding line charts are shown
  • /News - Here the latest covid-19 news from whole world is listed
  • /guidelines - This one lists the guidelines to follow durring the pandemic
  • /api - Here all our data is listed and u can access with the listed api calls shown there.

Screenshots

How to contribute

No matter how you choose to help, we would love to have you as part of the project. You can just fork the repository ,add your ideas and send us a pull request, we will look through it.. ;-)