after downloading/cloning the repository on your computer open the command prompt window and type the following commands
- cd the directory path where the repo is on your device
- mvn clean install
- java -jar doc-optimizer-1.0-SNAPSHOT.jar
- enter your (patient) info
- choose a doctor and a time for your appointment
- book it or get the closest available time
- src
- main
- contains all of the main classes, optimization algorithm and GUI classes
- test
- contains all the tests for the classes mentioned above
- main
- misc files used for the database and readme file
graph TD;
Patient-->Appointment;
Doctor-->Appointment;
OptimizationAlgorithm-->Appointment;
SQLdatabase<-->sqlConnect;
sqlConnect<-->OptimizationAlgorithm;
AppointmentInfo-->JFrame;
AppointmentWelcomeScreen-->JFrame;
PatientInfo-->JFrame;
NewPatient-->JFrame;
OldPatient-->JFrame;
AppointmentFinalScreen-->JFrame;
- online sql database
- Tables:
- Doctor
- Appointment
- Patient
- Tables:
- Optimization Algorithm
- receives 2 lists (Doctor,Appointment) from the database through the sqlConnect class and finds the closest availability
- GUI
- Welcome window
- Patient info
- New patient
- Appointment info
- Appointment final screen
- (if patient info exists --> old patient)