🍕🍕🍕
Code for YouTube video tutorial: https://www.youtube.com/watch?v=pjK0VMTCtVg
- clone the repo and cd into it
composer install
- rename or copy
.env.example
file to.env
- Enter your database credentials in your
.env
file - Change
BROADCAST_DRIVER
topusher
in your.env
file - Enter your Pusher credentials in your
.env
file. If needed, change cluster inconfig/broadcasting.php
php artisan migrate
php artisan key:generate
- Enter your Pusher key in
resources/assets/js/bootstrap.js
. If needed, change cluster as well npm install
npm run dev
php artisan serve
or use Laravel Valet- Visit localhost:8000 in your browser
- Make a new user and a new pizza order. Open up another window, go to admin, change order status, and watch it update in realtime!