This project is a Doctor Appointment Management System refactored to use the Laravel framework. The original project was developed by PHPGurukul and can be found here.
The Doctor Appointment Management System is a web application that allows patients to book appointments with doctors. It also enables doctors to manage their appointments and schedules efficiently. The main objective of the “Doctor Appointment Management System” project is to provide easier doctor appointment and gets appointment online which save lots of time. The original project was built using native PHP and MySQL.
-
User Module:
- Home Page: In this section, user can view the welcome page of the web application.
- Book: In this section, user can sent the appointment request.
- Check Appointment: In this section, user can search appointment with the help of user appointment number/Name/Mobile Number
-
Doctor Module:
- Dashboard: In this section, the doctor can briefly view the total number of new appointment, total approved appointment,s and total canceled appointments.
- Appointment: In this section, the doctor views the appointment details and they have also the right to change application status according to the current status.
- Reports: In this section doctor can view the appointment details in a particular period.
- Search: In this section, doctor can search appointments with the help of user appointment number/Name/Mobile Number Doctor can also update his profile, change the password and recover the password.
The project has been refactored to follow the Laravel framework structure. The refactored structure separates the code into:
- Models: Handling data and database interactions.
- Views: Managing the presentation layer using Blade templates.
- Controllers: Handling the application logic and user input.
- Migrations: Handling database schema.
- Routes: Defining the application routes.
- XAMPP or any compatible local server environment.
- Composer (Dependency Manager for PHP).
- Web browser.
- Basic knowledge of PHP and Laravel.
-
Download and Install XAMPP:
- Download XAMPP from the official website.
- Install XAMPP and start the Apache and MySQL modules from the XAMPP Control Panel.
-
Create Database
- Open phpMyAdmin by navigating to http://localhost/phpmyadmin/.
- Create new databases named
damsms
.
-
Clone the Repository:
-
Clone this repository to your local machine or download the ZIP file and extract it.
git clone git@github.com:khalidalghifari/Kelompok_2_4_Laravel.git
-
-
Install Composer Dependencies:
composer install
-
Generate Application Key:
php artisan key:generate
-
Run Migrations
php artisan migrate --seed
-
Open terminal and run this following command:
php artisan serve
-
Open the Application in Your Browser:
- Navigate to
http://localhost:8000
.
The project follows the Laravel framework structure with the following directories:
app/Models
: Contains all the model classes for database interaction.resources/views
: Contains all the view files for rendering the user interface.app/Http/Controllers
: Contains all the controller classes for handling the logic and user input.database/migrations
: Contains all the migration files for creating database schemas.routes
: Contains all the application routes.public
: Contains publicly accessible files such as index.php and assets (CSS, JS, images).
Kelompok 2:
- Andika Pebriansyah (2208107010058)
- Rizky Yusmansyah (2208107010024)
- M. Agradika Ridhal Eljatin (2208107010020)
- Muhammad Ridho (2208107010064)
- Nisa Rianti (2208107010018)
- Tiara Agustin (2208107010004)
Kelompok 4:
- Muhammad Raza Adzani (2208107010066)
- Nuri Masyithah (2208107010006)
- Fazhira Rizky Harmayani (2208107010012)
- Muhammad Khalid Al Ghifari (2208107010044)
- Maulana Fikri (2208107010042)
- Muhammad Aufa Zaikra (2208107010070)
- Original projects by PHPGurukul
- Laravel framework documentation and resources.