Skip to content

RattanakUNG/reverb_status

Repository files navigation

Laravel Reverb Test Project

How to Start the Project

Follow these commands in order to set up the project:

  1. Copy the .env.example file to .env

    cp .env.example .env
  2. Generate a key for your project

    php artisan key:generate
  3. Install all PHP dependencies

    composer install
  4. Install all JavaScript dependencies

    npm install
  5. Run migrations (using SQLite by default)

    php artisan migrate
  6. Run all seeders

    php artisan db:seed

Notice

Make sure you log in as the user with ID 1:

login: [email protected]
password: password

This is because the channel will check if this user can listen to the channel. Once logged in, return to the main page.

Run queue

php artisan queue:listen

Starting Reverb with a debugging

php artisan reverb:start --debug

Usefull command

php artisan order:update-status placed
php artisan order:update-status shipped
php artisan order:update-status processing
php artisan order:update-status delivered

About

Update status live by laravel reverb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages