Skip to content

A full-stack project - Visualize COVID-19 confirmed cases on a virtual globe.

Notifications You must be signed in to change notification settings

daweifeng/covid-globe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 

Repository files navigation

COVID Globe

Visualize COVID-19 cases on a virtual globe

Demo: covid-globe.dawei.io

Multifingers support

This app natively supports multifinger gestures. You can pinch your screen to zoom in and out.

Data

The time series Data is auto collected every day at 00:01(UTC) from

COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University

Collected data is parsed and stored on my own MongoDB cluster.

Note: On March 10, 2023, the Johns Hopkins Coronavirus Resource Center ceased its collecting and reporting of global COVID-19 data. Covid-globe will only display data by March 10, 2023

API

Collected data can be accessed through the covid-globe backend api

Endpoint: https://covid-server.dawei.io/cases/confirmed

Request

GET https://covid-server.dawei.io/cases/confirmed?ts={timestamp}

timestamp: the UTC timestamp of the date

Response

{
  "usResponse":[
    {
      "_id": "5f123b812c72e9002e2db473",
      "Province_State": "American Samoa",
      "Country_Region": "US",
      "Lat": "-14.271",
      "Long_": "-170.132",
      // Specific date from request
      "7/16/20": "0"
    },
    ...
  ],
  "globalResponse": [
    {
      "_id": "5f123b872c72e9002e2dc131",
      "Province/State": "",
      "Country/Region": "Afghanistan",
      "Lat": "33.93911",
      "Long": "67.709953",
      // Specific date from request
      "7/16/20": "35070"
    },
    ...
  ]
}

Todos

  • Use Redis for data caching
  • Add 'Recovered Cases' route

About

A full-stack project - Visualize COVID-19 confirmed cases on a virtual globe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published