https://github.com/winterrdog/sse-practice
intro to SSE
https://github.com/winterrdog/sse-practice
Last synced: 7 months ago
JSON representation
intro to SSE
- Host: GitHub
- URL: https://github.com/winterrdog/sse-practice
- Owner: winterrdog
- Created: 2025-06-08T10:40:46.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-06-08T11:05:21.000Z (7 months ago)
- Last Synced: 2025-06-08T11:28:10.408Z (7 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sse-practice
was just trying to understand how SSE works
# Usage
1. Clone the repository
```bash
git clone https://github.com/winterrdog/sse-practice.git
```
2. Navigate to the project directory
```bash
cd sse-practice
```
3. Run the server in one terminal/tab
```bash
node simple-sse-server.js
```
4. Run the client in the browser
- Open `./frontend/index.html` in your browser
5. Open the browser console to see the messages being logged