# Real-Time Notification

To enable real-time notifications in the updated admin theme, you need to configure your project by following these steps:

  1. Create an account on Pusher (opens new window).

  2. Once you have created an account, create a Channels app for your application. In the app settings, go to the "App Keys" menu and copy the app ID, key, secret, and cluster.

  3. Open your application's .env file and replace the respective values with the credentials generated by Pusher.

  4. After updating the .env file, run the following command in your terminal to start the queue listener:

    php artisan queue:listen --queue=broadcastable
    

    This command ensures that the queue broadcasts are processed, making your application more responsive and providing a real-time experience.

    Note: Make sure you have set up the required configurations for queues and broadcasting in your Laravel application.

By implementing real-time notifications, whenever an order is created or updated, you will receive immediate updates in the admin notification menu without having to wait for the process to complete or refresh the page. This enhances the responsiveness and user experience of your application.