Persuasive is a web application that allows lab scientists to upload their test results to a database, which can then be accessed by the GP's. This way the GP's can see the results of their patients without having to look through all the test results
The lab scientists can also upload an excel file with all the test results, which will be automatically inserted in the database. The GP's can search for a patient in the database, and see the risk score of the patient. The risk score is calculated by an algorithm, which is based on the test results of the patient.
For this application we have decided to use the PHP framework Laravel PHP in combination with Javascript framework VueJS by using the InertiaJS package.
InertiaJS is a package that combines the power of Laravel with the simplicity of VueJS. It allows you to build your entire frontend using VueJS components, while still using Laravel's powerful routing and backend features.
Please check the official laravel installation guide for server requirements before you start. Official Documentation
Clone the repository
git clone [email protected]:deep-dive2/persuasive.git
Switch to the repo folder
cd persuasive/application
Install all the dependencies using composer
composer install
Set up npm dependencies
npm i
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate:fresh --seed
Start the local development server
php artisan serve
Start npm run (In different terminal, both artisan serve and run dev need to stay alive)
npm run dev
You can now access the server at http://localhost:8000
git clone [email protected]:deep-dive2/persuasive.git
cd persuasive/application
composer install
npm i
cp .env.example .env
php artisan key:generate
Make sure you set the correct database connection information before running the migrations
php artisan migrate:fresh --seed
php artisan serve
Also run npm in different terminal (keep alive)
npm run dev
Three students of the Bit Academy in Amsterdam, who are participating in the Deep Dive.