An open API service indexing awesome lists of open source software.

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

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