Skip to content

abdelghanyMh/laravel_medical

Repository files navigation

Laravel Logo

About laravel-medical:

laravel-medical is a full-stack web application that allows the user to manage a medical clinic.

  • There are three roles in this app, each with a particular level of access:

  • SECRETARY can:

    1. Login
    2. Create a new appointment
    3. View list of the patients and the doctors in registered in the app.
  • DOCTOR can:

    1. Do anything a secretary can do.
    2. Manage the patient assigned to him (has/had appointment with them).
    3. Manage the patient's profile (see the use case diagram).
  • ADMIN can:

    1. Do anything a doctor & secretary can do.
    2. manage users of the app.



Use Case Diagram:

use case Diagram

Tech used:

  • Laravel V9 : web application framework
  • AdminLTE Bootstrap Admin Dashboard Template link

Installation

  1. Dependencies install :

    git clone https://github.com/abdelghanyMh/laravel_medical.git
    cd ./laravel_medical
    
    sudo chmod 777 * -R
    
    composer install
    
    npm install
  2. Database setup

    • Create an empty database on phpmyadmin
    • Copy content of .env.example into new .env file
      cp .env.example .env
    • Change those values on the .env file
      DB_CONNECTION=mysql
      DB_HOST=127.0.0.1
      DB_PORT=3306
      DB_DATABASE=name
      DB_USERNAME=root
      DB_PASSWORD=YOUR_PHP_My_ADMIN_PASSWORD
    • Migrate the database
      php artisan migrate
    • [Optional]: Seed the database
      php artisan db:seed

      check database/seeders/DatabaseSeeder.php for details.



3. Login to the app:

  • if you checked DatabaseSeeder.php as I told you (look above) you will notice that 4 users has been created :
role email password
Admin admin@clinictlemcen.com 123456
Doctor doctor@clinictlemcen.com 123456
Doctor doctor2@clinictlemcen.com 123456
Secretary secretary@clinictlemcen.com 123456

About

Management app for medical clinics

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •