Skip to content

elaine1129/AWAD_Assignment

Repository files navigation

Overview

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.

Backend

  • Laravel

Frontend

  • Tailwindcss
  • axios
  • datatables

Features

  • Login or register
  • Create appointment
  • View appointment
  • Update appointment
  • Cancel appointment
  • Manage patients
  • Manage doctors
  • Generate schedule
  • Manage Profile

Screenshots

Setup

  1. git clone https://github.com/elaine1129/AWAD_Assignment.git clone from repository
  2. cd into project directory
  3. composer install install dependency
  4. Setup .env files, by copying the .env.example and setup database (password, ...)
  5. php artisan key:generate
  6. npm -g install pnpm install pnpm as global if havent install before
  7. pnpm install install all dependency
  8. pnpm run watch
  9. php artisan serve
  10. pnpm add [new package name] to install package you need

Run from time to time

  1. composer dumpauto

To seed database

  1. set up database in .env file
  2. run php artisan migrate / php artisan migrate:fresh if got errors
  3. run php artisan db:seed (if fail run again or migrate fresh)
  4. to configure number of seed go to DatabaseSeeder.php.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •