- Install dependencies by running
composer install
- Run tests by running
composer run test
- Run
php artisan db:seed
to create a root user. A link will be sent to the root user's email specified in the.env
file
- Run
pecl install ast
to install the ast extension. Windows (http://windows.php.net/downloads/pecl/releases/ast/) https://github.com/nikic/php-ast - Add
extension=ast.so
to php.ini on unix systems andextension=php_ast.dll
to php.ini on windows systems - Run
vendor/bin/phan --progress-bar -o analysis.txt
to run static analysis
- Users (Root, Admin, Doctor, Patient) can verify their account
- Users (Root, Admin, Doctor, Patient can log in
- Root can add admin account
- Admin can add doctor accounts
- Admin can add patient accounts
- Root can get an admin by email or id
- Root can get all admins
- Root, Admin or Doctor can get a patient by id or email
- Root can get all patients
- Root, Admin ot Doctor can get a doctor by id or email
- Root can get all doctors
- Doctor can get a patient's medical history
- Patients can view their prescriptions
- Patients can book appointments
- Patients can see their appointments
- Admin can edit appointments
- Doctors can see their appointments
Visit the /graphql-playground
endpoint in your browser to see the documentations