class diagram

we make a laravel crud rest api with sanctum-auth

test using postman

database My Sql :

tables :

-> users , patients , doctors , appointments , prescriptions , departments , medicines , questions , answers

Controllers :

-> crud for all modeles -> authentication (login, logout) for the users(patient,doctor,admin)

factories :

-> users , patient , doctor , department

next steps :

-> send email after storing appointment

-> email verification