A free to use COVID19 data API updated time to time!
It has been built using TypeScript using a server backend built using Express in NodeJS environment. The data is being fetch and processed every minute to ensure accurate and updated data!
API requests can be made to this url: https://coronavirus-node.herokuapp.com/
GET /all
will provide you with data of (almost) all countries as well as total confirmed cases, deaths and total recoveries. It even fetches timeline of confirmed cases, deaths and recoveries.GET /country/:country-name
will fetch you details specific to the country itself.GET /total
will fetch you only total cases, deaths and recovered cases and nothing else.
Data is being fetched and restructured from the infamous Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE every minute. Also big props to Omaroid as his API served me a big inspiration to built this API.
git clone https://github.com/khatrivarun/coronavirus-node.git
- Run
npm install
to install all dependencies and dev dependencies. - Run
npm run start
in project root to start up the server. - All requests can then be fetched on
localhost:3000
This project is licensed under the MIT License - see the LICENSE file for details.