Management of patients, doctors, and appointments in a medical facility with a role-based access control system.
The application is developed on Laravel 11 and provides functionality for:
- Patients: Appointment scheduling, viewing medical history, and prescriptions.
- Doctors: Managing appointments, issuing prescriptions, and accessing patient history.
- Administrators: Creating doctors/patients, managing appointments, and editing data.
- Superadmins: Full control over the system, including creating administrators.
| Role | Capabilities |
|---|---|
| Patient | Registration, appointment scheduling, viewing medical history and prescriptions |
| Doctor | Viewing schedules, issuing prescriptions, accessing patient history |
| Administrator | Creating doctors/patients, managing appointments, editing data |
| Superadmin | Full system control, creating administrators |
- Backend: PHP 8.3.11, Laravel 11.42.1
- Frontend: Bootstrap 5
- Database: MySQL
- Security: RBAC via spatie/laravel-permission
- Testing: PHPUnit
- Authentication: Laravel Breeze
- Containerization: Docker, Docker Compose
- Clone the repository:
git clone https://github.com/Serega4x4/hospital.git - Change directory:
cd hospital - Set up the environment:
cp .env.example .env - Set up docker:
docker-compose up -d --build - Generate key:
docker-compose exec app php artisan key:generate - Visit in your browser:
http://localhost/ - E-mail of superadmin:
- Password of superadmin:
password