/novelcovid-api-badges

Svg badges displaying the number of coronavirus confirmed cases, recovered and deaths.

Primary LanguageJavaScript

Coronavirus Global Data Badges

Cases Today Cases Deaths Today Deaths Recovered Actives

Usage

Cases

url: https://novelcovid-api-badges.herokuapp.com/confirmed

usage: ![Covid-19 Cases](https://novelcovid-api-badges.herokuapp.com/confirmed)

Today-Cases

url: https://novelcovid-api-badges.herokuapp.com/todaycases

usage: ![Covid-19 Today-Cases](https://novelcovid-api-badges.herokuapp.com/todaycases)

Deaths

url: https://novelcovid-api-badges.herokuapp.com/deaths

usage: ![Covid-19 Deaths](https://novelcovid-api-badges.herokuapp.com/deaths)

Today-Deaths

url: https://novelcovid-api-badges.herokuapp.com/todaydeaths

usage: ![Covid-19 Today-Deaths](https://novelcovid-api-badges.herokuapp.com/todaydeaths)

Recovered

url: https://novelcovid-api-badges.herokuapp.com/recovered

usage: ![Covid-19 Recovered](https://novelcovid-api-badges.herokuapp.com/recovered/)

Actives

url: https://novelcovid-api-badges.herokuapp.com/actives

usage: ![Covid-19 Actives](https://novelcovid-api-badges.herokuapp.com/actives/)

Long labels

Cases Today-Cases Deaths Today-Deaths Recovered Actives

url: ...?long=true

Data Sources

Data Repository of Coronavirus cases by Johns Hopkins University CSSEGISandData/COVID-19

GitHub stars GitHub last commit

Coronavirus Rest API Tracker: NOVELCovid/API

GitHub stars GitHub last commit

Developing Badge Service

Install dependencies

npm install

Running

npm run start

Running (in development)

npm run dev

Testing

npm run test

Created by: Kodjo Laurent Egbakou

Contribution

Feel free to create issues and PRs :)