Chapter 8: Building a Chat App with Vue 3, Laravel, and Socket.IO
In the previous chapters, we have created frontend projects or full stack projects that only communicate via HTTP. There is no real-time communication between the frontend and the backend. Real-time communication is sometimes necessary if we need to communicate data from the server side to the client side and vice versa instantly. Without some real-time communication mechanism, there is no way to communicate from the server side to the client side without the client initiating the request. This is something that we can add easily with the Laravel framework and Socket.io.
In this chapter, we will take a look at the following topics:
- Creating the API endpoints with Laravel
- Setting ...