Server-Sent Events (SSE) - Implement Client and Server (Express.js)

preview_player
Показать описание

Tools and technologies used:
1. VSCode
2. Yarn
3. JavaScript
6. Serve

Source-code:
Рекомендации по теме
Комментарии
Автор

well done in 3 minutes, I've seen other people trying to explain the same in 40min

ricko
Автор

Really really great job, straight to the point, and no fluff.

techexec
Автор

Awesome tutorial. This is exactly what I was looking for?

kwameasiago
Автор

Very well made! Very direct to the point! Excellent work!

MRAMetharam
Автор

It works properly on localhost. But after deploy the server and the client to such as Amazon EC2 or digitalOcean, it doesn't work. When i check, the server receives the request success and sending data according to the interval. But client never receive any data. When i stop the Server, client receives all of data which server sent with onError event. Is there any additional configuration on Server side after hosting it.

batzorigbazarragchaa
Автор

Thank you bro, you saved my little project

voguh__
Автор

Well done. It gave me a super quick overview

whitecastle
Автор

Amazing work here =D. Extremely well explained and executed 💯

MarcioMarquesdeSouza
Автор

how to trigger the server to send data when needed.

battmanreturndark
Автор

great information sir!! btw what is the theme that you are using in vscode?

amitsamui
Автор

I need to stop the interval but when the user logs out, any clues?

chicagoboy
Автор

we want to see sending messages by EVENT, but not every second. because it looks like asking by client every second server!!! Also 1 second is too long beetwin event and message!

arturincloud