vaibhavpandeyvpz / covid19-mohfw

Free, public API for COVID-19 cases in India, updated directly from MOHFW website.

Home Page:https://vaibhavpandey.com/covid19-mohfw/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

covid19-mohfw

Example front-end: https://vaibhavpandey.com/covid19-mohfw/

Free, public API for COVID-19 cases in India, updated directly from MOHFW website. The API has a single endpoint i.e., https://covid19-mohfw.herokuapp.com/ which gives state-wise details about coronavirus cases in India, scraped from the homepage of Ministry of Health & Family Welfare.

The API is built on Node.js using Koa, axios and LevelDB. It is hosted on Heroku cloud platform. The API database is updated automatically every 15 minutes.

Running Locally

To run the API server locally, I assume you have Node.js and yarn installed on your machine. Then you can clone this project and execute below command in project directory:

yarn && npm start

The API will then be accessible on port 3000 e.g., http://localhost:3000.


Created by Vaibhav Pandey. I hope everybody is safe staying home and we end this deadly outbreak together by co-operating our government in following issued guidelines.

About

Free, public API for COVID-19 cases in India, updated directly from MOHFW website.

https://vaibhavpandey.com/covid19-mohfw/

License:MIT License


Languages

Language:JavaScript 100.0%