Skip to content

WebApp Management Rumah Sakit yang dibuat menggunakan framework Laravel dan DB MySQL

Notifications You must be signed in to change notification settings

Ryan-infitech/Rumah-Sakit-Laravel

Repository files navigation

English | Indonesian

🏥 Hospital Management System

preview

A comprehensive web application for managing hospital operations, appointments, and patient records built with Laravel.

Laravel PHP MySQL

✨ Features

Multi-Role System

  • 👩‍💼 Admin: System management, user control, and analytics
  • 👨‍⚕️ Staff: Patient registration, appointment handling, and medical records
  • 🧑‍🤝‍🧑 Patient: Book appointments, track queue, and access medical history

Admin Portal

admin

  • Comprehensive dashboard with real-time metrics
  • User management (create, update, delete)
  • Department/Poliklinik management
  • Doctor scheduling
  • System performance monitoring
  • Reporting and analytics

Staff Portal

staff

  • Patient registration and management
  • Appointment processing
  • Queue management
  • Medical record access
  • Daily patient reports

Patient Portal

patient

  • Appointment booking
  • Queue tracking
  • Medical history access
  • Prescription history
  • Profile management
  • Service rating system

🛠️ Technology Stack

📋 Requirements

  • PHP >= 8.0
  • MySQL
  • Composer
  • Node.js & NPM

🚀 Installation

  1. Clone the repository
git clone https://github.com/yourusername/hospital-management-system.git
cd hospital-management-system
  1. Install PHP dependencies
composer install
  1. Install JavaScript dependencies
npm install && npm run dev
  1. Configure environment
cp .env.example .env
  1. Update database settings in .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=hospital_management
DB_USERNAME=root
DB_PASSWORD=
  1. Generate application key
php artisan key:generate
  1. Run migrations and seeders
php artisan migrate --seed
  1. Start development server
php artisan serve

👥 Default Login Credentials

Role Email Password
Admin admin@example.com password
Staff staff@example.com password
Patient patient@example.com password

📊 System Architecture

app/
├── Http/
│   ├── Controllers/      # Route controllers
│   ├── Middleware/       # Request middleware
│   └── Requests/         # Form requests
├── Models/               # Database models
├── Providers/            # Service providers
├── Services/             # Business logic
└── Resources/
    ├── views/            # Blade templates
    ├── js/               # JavaScript
    └── css/              # Stylesheets

🔄 Workflow

  1. Patients register and book appointments
  2. Staff process appointments and manage queue
  3. Doctors see patients and update medical records
  4. Admin oversees the entire system and generates reports

📚 Documentation

Detailed documentation is available in the docs/ directory:

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

👏 Acknowledgements

  • Laravel Community
  • Bootstrap Team
  • All contributors who have helped improve this system

Contact

If you have any questions or suggestions, please open a new issue in this repository.

WhatsApp linkedin Instagram