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-tracker-status.web.app/.
The website is built on the popular Python web-based framework Flask. If you are't familiar with Flask, we suggest checking out their official page excellent documentation.
To begin with, you'll need Python 3.7 or a higher version to run this project:
You can check your currently installed python version with:
python --version
Additionally you'll need a few dependencies in python,all the dependencies have been listed in requirements.txt You can install all dependencies on the 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 the code is live-updated 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 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 you can have a look at this for reference- https://medium.com/firebase-developers/hosting-flask-servers-on-firebase-from-scratch-c97cfb204579
Components of the project are organized as follows:
/home
- Entire stats is Visualised and displayed for both the world and India separately./analyis
- Here all the data is analyzed and future trends are predicted with graphical analysis and corresponding line charts./News
- Here the latest covid-19 news from around the globe is listed./guidelines
- This lists the safety guidelines and measures to follow during the pandemic./api
- Here all our data is listed and you can access with the listed api calls shown there.
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.. ;-)