Skip to content

7wick/covid-vaccine-locator-india

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

PRD (Product Requirement Documentation) of the project:

https://github.com/7wick/covid-vaccine-locator-india/raw/main/PRD_%20%20covid%20vaccine%20locator.pdf

Features of covid-vaccine-locator-india:

Helps in filtering out all the health care centres with availability of Covid-19 vaccines in India. It resolves few of the issues present with official website https://www.cowin.gov.in:

  1. It helps you filter out only those centres which have vaccine(s) available. So it saves you from finding a needle in haystack.
  2. It also helps you filter out only those centres which have vaccine(s) available for your age. So, you do not go through a list of centres who have vaccine, but not for you.

Steps to run it locally:

  1. Install python and pip (preffered: python3) [follow: https://realpython.com/installing-python/]
  2. Take a pull of the main branch of this github repository
  3. Run: cd ./covid-vaccine-locator-india [for windows replace '/' with '\' ]
# Install, create and activate the virtual environment
  1. pip install virtualenv
  2. virtualenv virtualenv
  3. Run: source ./virtualenv/bin/activate [for linux/mac] || Run: .\virtualenv\Scripts\activate [for windows]
# Install all the required python modules
  1. Run: cd ./covid_vaccine_locator [for windows replace '/' with '\' ]
  2. Run: pip install ./requirements.txt [for windows replace '/' with '\' ]
# Start the Django development server
  1. Run: python manage.py runserver

  2. Install Postman (industry standard app to test APIs)

  3. In Postman, make a GET request on URL: http://127.0.0.1:8000/vaccine_finder/ . In the request body pass the following:

    date:06-05-2021 # Shows all the centres with available vaccines, for the next 7 days from this date
    age:50 # Age of the person to be vaccinated
    state_name:uttar pradesh # Name of a state in India
    district_name:lucknow # Name of a district of that state

Note: All the values are passed as string

About

Helps in filtering out all the health care centres with availability of Covid-19 vaccines in India. It resolves few of the issues present with official website https://www.cowin.gov.in:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages