Integrate Laravel Reverb with NextJS 14 (Private Messaging Example)

Glenn Raya June 6, 2024
Video Thumbnail

About

No channel description available.

Video Description

UPDATE: In the Laravel API codebase, I made a mistake in returning the authorization 'token' from the 'AuthenticatedSessionController.php' under the 'store' method as a cookie. This might cause an error during login (but will eventually continue to the dashboard). You could return it as regular JSON data. I committed the change to the GitHub repo for the backend codebase. Hi, this video will teach us how to integrate Laravel Reverb with a separate frontend framework like NextJS. Laravel Reverb is one of the latest additions to the Laravel ecosystem, making it super simple to add real-time features to a web app. However, there are instances where you may need to use this feature in a decoupled architecture, with the backend and frontend in separate repositories. If this is the case, we'll need additional steps to make Laravel Reverb work seamlessly in this setup. If you want to support my work: https://buymeacoffee.com/glennraya Laravel Reverb with Breeze/Inertia (React) MONOLITH Architecture: https://youtu.be/jMcIE1hnaYw What You'll Learn: - Setting up Laravel as an API backend - Integrating Reverb for real-time functionalities - Connecting Laravel API/Reverb with NextJS frontend - Implementing real-time chat features Source Code: Frontend: https://github.com/glennraya/nextbreeze Backend: https://github.com/glennraya/reverb-api-next #Laravel #NextJS #Reverb #RealTimeChatApp #WebDevelopment #APIBackend #FrontendDevelopment #DecoupledArchitecture

You May Also Like