This API provides the information regarding '2019 Novel Coronavirus (covid-19)'. It contains a number of confirmed, death, and recovered cases based on the data provided by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE).
https://covid2019-api.herokuapp.com/
https://github.com/CSSEGISandData/COVID-19
Branch | Feature | Description |
---|---|---|
master | Docker + Web API | For deploying to a server |
development | Docker + Web API | For testing before merging to Master |
docker-redis | Docker + Redis + Web API | For deploying to a server with Redis via docker-compose |
- The current data (daily updated)
- Confirmed, Deaths, Recovered
- The affected countries
- Individual affected country
- Timeseries
- Run the following command in your command line to run the server {your_path}/app >
uvicorn main:app
- Run the following command in your command line to run the server
docker-compose up
- Or run the server in the background
docker-compose up -d
- The port can be changed at docker-compose.override.yml
version: '3'
services:
web:
container_name: "covid19_api_web_container"
volumes:
- ./app:/app
ports:
- "80:80"
environment:
- 'RUN=uvicorn main:app'
Check it out here
Check it out here
Thanks goes to these wonderful people (emoji key):
Nuttaphat Arunoprayoch 🚧 💻 📖 👀 |
Sophia Castellarin 💻 |
Jeremy 💻 |
Tim 🌍 |
This project follows the all-contributors specification. Contributions of any kind welcome!