https://github.com/utsavdotpro/serversenteventsdemo-node
Simple NodeJS application to try Server-Sent Events (SSEs)
https://github.com/utsavdotpro/serversenteventsdemo-node
expressjs seversentevents sse
Last synced: about 1 month ago
JSON representation
Simple NodeJS application to try Server-Sent Events (SSEs)
- Host: GitHub
- URL: https://github.com/utsavdotpro/serversenteventsdemo-node
- Owner: utsavdotpro
- Created: 2021-06-15T22:55:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T08:23:20.000Z (almost 5 years ago)
- Last Synced: 2025-06-03T12:52:07.727Z (about 1 year ago)
- Topics: expressjs, seversentevents, sse
- Language: JavaScript
- Homepage: https://server-sent-events-demo.herokuapp.com/
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sever-Sent Event Demo - Node
Simple NodeJS application to try Server-Sent Events (SSEs). Hosted on Heroku
## Get Started
Install the dependencies
```bash
npm install
```
Run the dev build
```bash
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
- [ExpressJS](https://expressjs.com/)
## Credits
- **Hussein Nasser** Tutorial: https://youtu.be/4HlNv1qpZFY