laravel-realtime-example
laravel-realtime-example copied to clipboard
Realtime 🍕 Pizza Order Tracker 🍕 - Laravel, Vue & Pusher
Realtime Pizza Order Tracker - Laravel, Vue & Pusher
🍕🍕🍕
Code for YouTube video tutorial: https://www.youtube.com/watch?v=pjK0VMTCtVg
Installation
- clone the repo and cd into it
composer install- rename or copy
.env.examplefile to.env - Enter your database credentials in your
.envfile - Change
BROADCAST_DRIVERtopusherin your.envfile - Enter your Pusher credentials in your
.envfile. If needed, change cluster inconfig/broadcasting.php php artisan migratephp artisan key:generate- Enter your Pusher key in
resources/assets/js/bootstrap.js. If needed, change cluster as well npm installnpm run devphp artisan serveor 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!