restAPIs: https://api.covid19api.com/summary and https://covidtracking.com/api/states . Numbers used in this project are from these two sources.
To have it fully function, create a .env file in the same directory as app.py then put the following line:
API_KEY = your_google_api_key
Your google api key has to have Geocoding API and Maps JavaScript API enabled.
Instruction
Install the required packages listed in requirements.txt.
To start the application, clone this repository and go to flask directory, and run
flask run
Once successfully started, the application will run on the localhost -- check the command line for the right port.
Docker
Install Docker daemon first if you don't have it
To build the docker image, run
docker-compose build
Once the image is built, run the following command to start the container:
docker-compose run
This will run the docker container in the background. The application will be deployed on localhost
Note
It might take 5-15 seconds to open each page.