Coder Social home page Coder Social logo

nat236919 / covid19-api Goto Github PK

View Code? Open in Web Editor NEW
119.0 5.0 63.0 914 KB

API for exploring COVID-19 cases around the globe

Home Page: https://nuttaphat.com/covid19-api/

License: MIT License

Dockerfile 0.81% Python 99.09% Procfile 0.11%
covid-19 coronavirus api python covid19 coronavirus-tracking hacktoberfest

covid19-api's Introduction

API for exploring covid-19 cases around the globe powered by FastAPI framework

issues forks starts licence build

Introduction

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).

Example

Applications

Reference

Branches

Branch Feature Description
master Docker + Web API For deploying to a server
development Docker + Web API For testing before merging to Master

Features

  1. The current data (daily updated)
  2. Confirmed, Deaths, Recovered
  3. The affected countries
  4. Individual affected country
  5. Timeseries

How to Start a Server

  • Go to app directory and Run the following command in your command line to start a server
uvicorn main:app

How to install (Docker-compose)

  • 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"

How to install (from Dockerhub)

  • Download the latest image
docker pull nat236919/covid19-api:latest
  • Create a container and run
docker run nat236919/covid19-api

How to use API (v2)

Check it out here

How to use API (v1)

Check it out here

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Nuttaphat Arunoprayoch

๐Ÿšง ๐Ÿ’ป ๐Ÿ› ๐Ÿ“– ๐Ÿ‘€

Sophia Castellarin

๐Ÿ’ป

Jeremy

๐Ÿ’ป

Tim

๐ŸŒ

melsaa

๐Ÿ’ป

owen-duncan-snobel

๐Ÿ’ป ๐Ÿ“– ๐Ÿ’ต

Maria Sitkovets

๐Ÿ’ป

Ali Raeisdanaei

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

Sponsor this project

Buy Me A Coffee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.