Coder Social home page Coder Social logo

covid19's Introduction

Coronavirus disease (COVID-19) Situation

Dockerizing Django rest framework with Postgres

dashboard

prerequisite

  1. git
  2. docker
  3. docker-compose

Install

Want to use this project?

  1. First clone repository:

    $ git clone https://github.com/anwar03/covid19.git

Development

Uses the default Django development server.

  1. Build the images and run the containers:

    $ docker-compose up
     $ docker-compose run web python project_base/manage.py import_covid19_data

    Test it out at http://127.0.0.1:8000. The "app" folder is mounted into the container.

API

API for Current cases and more stuff about COVID-19 or the Novel Coronavirus Strain http://127.0.0.1:8000

Endpoints

GET Request Output
http://127.0.0.1:8000/api/covid19 Returns data of all countries that has COVID-19
http://127.0.0.1:8080/api/covid19/newcase Returns data of all countries of the new cases
http://127.0.0.1:8080/api/covid19/newcase/?country={country} Returns data of each country of the new cases by the parameter
http://127.0.0.1:8080/api/covid19/countrydata Returns data of all countries that has COVID-19
http://127.0.0.1:8080/api/covid19/countrydata/?country={country} Returns data of each country data by the parameter.
http://127.0.0.1:8080/dashboard Dashboard data total cases, recovery, and deaths.
http://127.0.0.1:8080/dashboard/?country={country} Returns the data of a country if it is equal to its country

Sources:

https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series

covid19's People

Contributors

anwar03 avatar

Stargazers

Saikat Roy avatar

Watchers

 avatar

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.