Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaibhavpandeyvpz/covid19-mohfw
Free, public API for COVID-19 cases in India, updated directly from MOHFW website.
https://github.com/vaibhavpandeyvpz/covid19-mohfw
axios coronavirus covid covid19-api covid19-data covid19-india covid19-tracker koa leveldb nodejs react
Last synced: 4 days ago
JSON representation
Free, public API for COVID-19 cases in India, updated directly from MOHFW website.
- Host: GitHub
- URL: https://github.com/vaibhavpandeyvpz/covid19-mohfw
- Owner: vaibhavpandeyvpz
- License: mit
- Created: 2020-03-25T09:22:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T22:51:06.000Z (almost 4 years ago)
- Last Synced: 2024-05-03T03:53:18.354Z (6 months ago)
- Topics: axios, coronavirus, covid, covid19-api, covid19-data, covid19-india, covid19-tracker, koa, leveldb, nodejs, react
- Language: JavaScript
- Homepage: https://vaibhavpandey.com/covid19-mohfw/
- Size: 37.1 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# covid19-mohfw
Example front-end: [https://vaibhavpandey.com/covid19-mohfw/](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/](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](https://www.mohfw.gov.in/).The API is built on [Node.js](https://nodejs.org/en/) using [Koa](https://github.com/koajs/koa),
[axios](https://github.com/axios/axios) and [LevelDB](https://github.com/Level/level). It is hosted on
[Heroku](https://www.heroku.com/) 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](https://nodejs.org/en/) and [yarn](https://yarnpkg.com/)
installed on your machine. Then you can clone this project and execute below command in project directory:```shell script
yarn && npm start
```The API will then be accessible on port `3000` e.g., [http://localhost:3000](http://localhost:3000).
---
Created by [Vaibhav Pandey](https://vaibhavpandey.com/). I hope everybody is safe staying home and we end this deadly
outbreak together by co-operating our government in following issued guidelines.