This will scrape the data from the government site and provide the consumable json data about the state-wise corona cases
This project uses Django and graphql for API.
To consume this API, send a GET request at: https://statewisecovidindia.herokuapp.com/graphql/?query={stateWiseData}
GraphQL playground is available
-
Install pipenv
pip install pipenv
-
In the root of this project, start the virtualenv
pipenv shell
-
Install all the required packages
pipenv install
All the packages are installed. Time to run the Django server. -
In the root directory(where
manage.py
recides) run,python manage.py runserver
-
After the server is running, you can go-to
localhost/graphql
to open the graphql playground.