Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

ykursadkaya/covid19-turkey-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19 Turkey Statistics API

Provides information about COVID-19 in Turkey.

Setup

Run on a Docker container

  1. Clone this repository

    git clone https://github.com/ykursadkaya/covid19-turkey-api.git
    cd covid19-turkey-api
  2. Build Docker image

    docker build -t covidapi .
  3. Run container

    docker run -p <external-port>:5000 --name <container-name> covidapi

Run directly on your machine

  1. Install Python 3.8.x or later (script has walrus assignment)

    Python Download Page

  2. Install pip for Python3

    pip installation guide

  3. Clone this repository

    git clone https://github.com/ykursadkaya/covid19-turkey-api.git
    cd covid19-turkey-api
  4. Install required Python packages

    pip3 install -r requirements.txt
  5. Run script

    python3 app.py