Skip to content

Spring application created for fetching vaccine slot details

Notifications You must be signed in to change notification settings

vishnumurali7793/vaccinenotifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VACCINE SLOT NOTIFIER

This is a spring boot REST application basically built to fetch the vaccination slot details from public APIs provided by the API Setu.

API Details

  • /api/check-status - [GET] - This end-point is used to check the status of the application. If the application is running, this end-point will return a string value "app running...".
  • /api/master/states - [GET] - This end-point will return all the states in India.
  • /api/master/districts/{stateId} - [GET] - This end-point will return all the district under a particular state.
  • /api/sessions/findByDateAndDistrict - [GET] - This end-point will return the slot details for the particular date under a particular district. Query param required (i) districtId - Integer, (ii) date - String (dd-MM-yyyy).
  • /api/sessions/findWeeklySlotAvailability - [GET] - This end-point will return the slot details for a week from the given date under a particular district. Query param required (i) districtId - Integer, (ii) date - String (dd-MM-yyyy).

Other changes

  • Added HTML view to the application. use localhost:[portnumber]/notifier/home to access the application from browser.
  • Scheduler for auto fetching slot details (configure cron jobs in application.properties file)
  • Email integration for alerts (under development)

Anyone can fork this app and customize as per the requirement. Suggestions are also accepted. Since this is an experimental project, the code quality and code efficiency might not be that much good. I'll be keep updating the code.

Releases

No releases published

Packages

No packages published