I wrote the backend with Laravel as an api and the front with vueJs, of course, are completely separate.
Now I want to create notifications for some tasks.
I do not want to use the pusher and I want to create the socket myself (to practice and understand how it works). Now my question is, do I have to create a separate socket for both Back and Front and connect both of them to the same port?
Thankful.
Illuminate\Broadcastingto implement WebSockets for real-time, live-updating user interfaces. They provide different socket connections usingpusherandredisand so on. I recommend you to read this link; laravel.com/docs/8.x/broadcasting