Skip to content

Backend repo for a realtime chat app using Pusher for online presence, Redis for caching, and WebSockets for instant messaging. Handles user authentication, message storage, and notification delivery.

Notifications You must be signed in to change notification settings

EmmyAnieDev/link-up-laravel-backend

Repository files navigation

Broadcasting Chat Setup

Things to Remember

1. Routes/Channels

  • Define your broadcast channels in routes/channels.php.

2. MessageEvent

  • Ensure that your MessageEvent implements the ShouldQueue interface to queue the event.

3. Configuration

  • Update the config/broadcast.php configuration file as needed.

4. Queueing

  • Run the queue worker with the following command:

    php artisan queue:work
  • Alternatively, you can set the QUEUE_CONNECTION to sync for immediate execution:

    env_file

    QUEUE_CONNECTION=sync

About

Backend repo for a realtime chat app using Pusher for online presence, Redis for caching, and WebSockets for instant messaging. Handles user authentication, message storage, and notification delivery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages