A clinic booking management system that involves 3 types of users which are the admins, doctors and patients. Policies and Gates are used to implemented for the authorization of users with different roles.
- Laravel
- Tailwindcss
- axios
- datatables
- Login or register
- Create appointment
- View appointment
- Update appointment
- Cancel appointment
- Manage patients
- Manage doctors
- Generate schedule
- Manage Profile
git clone https://github.com/elaine1129/AWAD_Assignment.git
clone from repository- cd into project directory
composer install
install dependency- Setup .env files, by copying the .env.example and setup database (password, ...)
php artisan key:generate
npm -g install pnpm
install pnpm as global if havent install beforepnpm install
install all dependencypnpm run watch
php artisan serve
pnpm add [new package name]
to install package you need
composer dumpauto
- set up database in
.env
file - run
php artisan migrate
/php artisan migrate:fresh
if got errors - run
php artisan db:seed
(if fail run again or migrate fresh) - to configure number of seed go to
DatabaseSeeder.php
.