Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Renegade
Posts
Comments
N
Nuxt
•
Created by Maiguelman on 8/12/2024 in
#❓・help
Websocket and SSE with Nuxt 3
https://github.com/Renegade1912/vit-rooms/blob/main/server/routes/sse.ts
10 replies
N
Nuxt
•
Created by Maiguelman on 8/12/2024 in
#❓・help
Websocket and SSE with Nuxt 3
https://github.com/Renegade1912/vit-rooms/blob/main/server/utils/hooks.ts
10 replies
N
Nuxt
•
Created by Maiguelman on 8/12/2024 in
#❓・help
Websocket and SSE with Nuxt 3
I used something like this in a education project to inform the frontent about deleted user (sse and hooks):
https://github.com/Renegade1912/vit-rooms/blob/main/server/api/user/index.delete.ts
10 replies
N
Nuxt
•
Created by Maiguelman on 8/12/2024 in
#❓・help
Websocket and SSE with Nuxt 3
You can implement an API Endpoint in your application (use authentification!) which sends the data from Fastify to Nuxt -> Inside the server endpoint use the socket to inform the client frontends?
10 replies