How anilkumar10-hub/smart-queue-management-system works
SmartQueue is a hospital appointment and patient-queue management API. Its principal workflow is appointment booking, followed by patient check-in and queue-token handling; separate administrative workflows manage patients, doctors, departments, and hospitals. The graph reflects the sampled service logic and controller references in the SOURCE INDEX. Several controller and service implementations were not sampled, so their links are marked unverified rather than inferred as confirmed calls.
Main entry points: repository JPA repositories · AppointmentService.java Appointment booking · QueueTokenService.java Check-in and queue · DepartmentService.java Department management
Components 15
API endpoints
- Appointments API
src/main/java/com/codewithme/smartqueue/controller/AppointmentController.java - Queue API
src/main/java/com/codewithme/smartqueue/controller/QueueController.java - Patients API
src/main/java/com/codewithme/smartqueue/controller/PatientController.java - Hospitals API
src/main/java/com/codewithme/smartqueue/controller/HospitalController.java - Departments API
src/main/java/com/codewithme/smartqueue/controller/DepartmentController.java - Doctors API
src/main/java/com/codewithme/smartqueue/controller/DoctorController.java
Care workflows
- Appointment booking
src/main/java/com/codewithme/smartqueue/service/AppointmentService.java - Check-in and queue
src/main/java/com/codewithme/smartqueue/service/QueueTokenService.java - Patient management
src/main/java/com/codewithme/smartqueue/service/PatientService.java
Hospital administration
- Hospital management
src/main/java/com/codewithme/smartqueue/service/HospitalService.java - Department management
src/main/java/com/codewithme/smartqueue/service/DepartmentService.java - Doctor management
src/main/java/com/codewithme/smartqueue/service/DoctorService.java
Persistence model
- Domain entities
src/main/java/com/codewithme/smartqueue/entity - JPA repositories
src/main/java/com/codewithme/smartqueue/repository
Other components
- API client
Connections 21
- API client → Appointments API: requests
- API client → Queue API: requests
- API client → Patients API: requests
- API client → Hospitals API: requests
- API client → Departments API: requests
- API client → Doctors API: requests
- Appointments API → Appointment booking: delegates
src/main/java/com/codewithme/smartqueue/controller/AppointmentController.java - Departments API → Department management: delegates
src/main/java/com/codewithme/smartqueue/controller/DepartmentController.java - Doctors API → Doctor management: delegates
src/main/java/com/codewithme/smartqueue/controller/DoctorController.java - Hospitals API → Hospital management: delegates
src/main/java/com/codewithme/smartqueue/controller/HospitalController.java - Queue API → Check-in and queue: delegates
src/main/java/com/codewithme/smartqueue/controller/QueueController.java - Patients API → Patient management: delegates
src/main/java/com/codewithme/smartqueue/controller/PatientController.java - Appointment booking → JPA repositories: queries and saves
src/main/java/com/codewithme/smartqueue/service/AppointmentService.java - Appointment booking → Domain entities: builds responses
src/main/java/com/codewithme/smartqueue/service/AppointmentService.java - Check-in and queue → JPA repositories: queries and saves
src/main/java/com/codewithme/smartqueue/service/QueueTokenService.java - Check-in and queue → Domain entities: updates status
src/main/java/com/codewithme/smartqueue/service/QueueTokenService.java - Patient management → JPA repositories: queries and saves
src/main/java/com/codewithme/smartqueue/service/PatientService.java - Department management → JPA repositories: queries and saves
src/main/java/com/codewithme/smartqueue/service/DepartmentService.java - Department management → Domain entities: maps records
src/main/java/com/codewithme/smartqueue/service/DepartmentService.java - Doctor management → JPA repositories: queries and saves
src/main/java/com/codewithme/smartqueue/service/DoctorService.java - Hospital management → JPA repositories: queries and saves
src/main/java/com/codewithme/smartqueue/service/HospitalService.java