Setup

Same way you would install a typical laravel application.

composer install

npm install

Generate environment variable file:

cp .env.example .env

Generate application key:

php artisan key:generate

Migrate database

php artisan migrate

Seed the database

php artisan db:seed

Start Vite server

npm run dev

Serve application

php artisan serve

Open another terminal tab and start the queue worker

php artisan queue:work

The UI is displayed on the root page

Extra Notes

Run tests for backend implementation

php artisan test

Run tests for the order submission form to ensure correctness of calculations:

npm run test