COVID19 Visualization

April 2, 2020 ยท View on GitHub

All Contributors

Please note. The data used in the visualization is from an opensource project. We don't guarantee accurate numbers, but we are trying our best to find a reliable source of data.

Project setup

# Clone the project
git clone https://github.com/localeai/covid19-live-visualization.git

# Install dependencies
npm install

# start development server
npm run serve

# generate production build
npm run build

Environment variables

Copy the .env.example file to .env and specify the mentioned variables.

cp .env.example .env

variables

  • VUE_APP_MAPBOX_TOKEN : Mapbox API token. You can get one for yourself from here
  • VUE_APP_COVID_API_URL : API which gives the layers data to the webapp. Currently the layers are picked up from periodically generated file from GitHub Repo. Use the static data URL as the API URL.
VUE_APP_COVID_API_URL=https://raw.githubusercontent.com/haxzie/covid19-layers-api/master/data/layers
  • VUE_APP_API_REPO_URL : The GitHub api url for the repo which holds the layers data. Used to pickup the last updated date from the latest commit to the repo. You can use the github api, along with the static repo URL
VUE_APP_API_REPO_URL=https://api.github.com/repos/haxzie/covid19-layers-api

Libraries Used

APIs Used (Thanks for the creators :heart: )

DataSources

Customize configuration

See Configuration Reference.

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Musthaq Ahamad

๐ŸŽจ ๐Ÿ’ป

Rumaan Khalander

๐Ÿ’ป

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