maofalt / Transcendence

4 stars 0 forks source link

Announce The Next Match #208

Closed YoelRidgway closed 6 months ago

YoelRidgway commented 6 months ago

We can use Server-Sent Events (SSE) to send the notification to the frontend. Should be very simple to setup.

YoelRidgway commented 6 months ago

We will no longer user SSE in the tournament backend. Instead we will use websockets in the game backend that way we can use nodejs socket.io. Every time a match is created, the game backend will send a notification to the frontend through its websocket connection.