- Install dependencies by running
composer install - Run tests by running
composer run test
- Run
php artisan db:seedto create a root user. A link will be sent to the root user's email specified in the.envfile
- Run
pecl install astto install the ast extension. Windows (http://windows.php.net/downloads/pecl/releases/ast/) https://github.com/nikic/php-ast - Add
extension=ast.soto php.ini on unix systems andextension=php_ast.dllto php.ini on windows systems - Run
vendor/bin/phan --progress-bar -o analysis.txtto 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