This API provides endpoints for registering, logging in, logging out, creating, retrieving, updating, and deleting doctors, schedules, and appointments. Patients can register, choose doctor and book available slots for appointment.
- Clone the repository
- Run
composer install - Copy
.env.exampleto.envand fill in the required fields - Run
php artisan key:generate - Run
php artisan migrate:fresh --seed - Run
php artisan serveto start the development server
After installation visit /docs/api to view API documentation
- id
- name
- password
- user_type enum ('doctor', 'patient')
- id
- doctor_id
- specialization_id
- bio text
- id
- user_id
- date_of_birth
- gender
- id
- name
- id
- doctor_id
- patient_id
- appointment_date
- reason text
- status enum ('pending','completed', 'cancelled')