Skip to content

albino98/Covid19Monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

Python Flask MySQL

logo

Covid19Monitoring

This is a small Python project for Covid19 monitoring. I used Python with Flask, MySql and Plotly library for graphs.

The API used is: Covid19 API.

API documentation: Covid19 API Postman Documentation.

Plotly documentation: Plotly.

The whole project (including DB) is hosted on PythonAnyWhere at the following link: Covid19 Monitoring

The project consists of a database that contains the data to be displayed, a single web page and python that takes care of retrieving the data from the API, inserting them into the database and displaying them in the graphs through the Plotly library.

Where does the data come from?

As explained on the API website, the data is sourced from Johns Hopkins CSSE.

Code

Code Link

Note that there is no python virtual env folder in the code repository, so you will need to create one. I used python 3.6.2. (https://www.jetbrains.com/help/pycharm/creating-virtual-environment.html#env-requirements)

For the database create a new database named covid19 and import the file covid19.sql in the code folder. The database already contains some data.

immagine

immagine

immagine

BuyMeACoffee

License

License: APACHE 2.0