/covid19-live-visualization

Live visualization of novel corona virus (COVID19) outbreak

Primary LanguageVueMIT LicenseMIT

COVID19 Visualization

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 ❤️ )

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!