/ServerSentEventsDemo-node

Simple NodeJS application to try Server-Sent Events (SSEs)

Primary LanguageJavaScript

Sever-Sent Event Demo - Node

Simple NodeJS application to try Server-Sent Events (SSEs). Hosted on Heroku

Get Started

Install the dependencies

npm install

Run the dev build

npm run dev

Routes

/

Returns a simple "Hello" message

/stream

Opens a stream that prints "Hello", 100 times on a interval of 1 second(s)

Technologies Used

Credits