The PCA Sandbox Application is a simple application built on Laravel 9 with a Vue 3 single-page front-end. This implementation is intended as a lab for implementing features in a Laravel application.
The scope of the functionality is quite limited: a small number of screens and forms designed around the work of collecting admit, discharge and transfer information manually entered by users of the application.
Here are the steps to get started with this project quickly:
- Checkout the source code from GitHub
cd
into the project directory- Run
./vendor/bin/sail up -d
to fire-up the development environment - Run
./vendor/bin/sail composer install
to install the necessary PHP libraries - Run
./vendor/bin/sail npm ci
to install the frontend dependencies - Create a
.env
file from the.env.example
(e.g.cp .env.example .env
) - Run
./vendor/bin/sail artisan key:generate
to generate anAPP_KEY
for your instance - Run
./vendor/bin/sail artisan migrate
to set up the database - Run
./vendor/bin/sail artisan db:seed
to seed the database with some example data - Run
./vendor/bin/sail artisan passport:install
to create the Passport client - Run
./vendor/bin/sail npm run hot
to start up the frontend in hot-reloading mode - Browse to http://localhost and get started!
In addition to Laravel's "core" the following Laravel-specific packages are used: