Skip to content

obengkofijames/hospital-system

Repository files navigation

Hospital Management System

Project Overview

This is a Laravel Filament-based Hospital Management System designed to handle patient records, diagnoses,Pharmacy record and purchases, Accounting, Laboratory and user role management using Spatie Permissions and Filament Shield.

Setup Instructions

1. Clone the Repository

git clone git@github.com:obengkofijames/hospital-system.git
cd hospital-system

2. Install Dependencies

composer install

3. Environment Setup

Copy the example environment file and configure your database credentials:

cp .env.example .env

Update the .env file:

DB_DATABASE=hospital_db
DB_USERNAME=root
DB_PASSWORD=your_password

4. Generate Application Key

php artisan key:generate

5. Run Migrations and Seeders

php artisan migrate --seed

6. Login Credentials

After running the seeders, you can log in with:

7. Start the Application

php artisan serve

Project Structure

├── app
│   ├── Filament
│   │   ├── Resources
│   │   │   ├── PatientResource.php
│   │   │   ├── DiagnosisResource.php
│   │   │   ├── UserResource.php
│   │   ├── Pages
│   │   ├── Widgets
│   ├── Http
│   │   ├── Controllers
│   │   ├── Middleware
│   ├── Models
│   │   ├── Patient.php
│   │   ├── Diagnosis.php
│   │   ├── User.php
│   ├── Policies
│   ├── Providers
│
├── config
│   ├── filament.php
│   ├── shield.php
│   ├── permission.php
│
├── database
│   ├── factories
│   │   ├── PatientFactory.php
│   │   ├── DiagnosisFactory.php
│   ├── seeders
│   │   ├── DatabaseSeeder.php
│   │   ├── RoleSeeder.php
│   │   ├── PermissionSeeder.php
│
├── resources
│   ├── views
│   ├── lang
│
├── routes
│   ├── web.php
│   ├── api.php
│
├── tests
│   ├── Feature
│   ├── Unit
│
├── .env.example
├── composer.json
├── artisan
└── README.md

License

This project is open-source and free to use. Feel free to contribute!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published