This is a spring boot REST application basically built to fetch the vaccination slot details from public APIs provided by the API Setu.
- /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).
- 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.