https://github.com/membrane/node-sse-example
https://github.com/membrane/node-sse-example
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/membrane/node-sse-example
- Owner: membrane
- Created: 2023-10-04T10:29:58.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-16T12:50:22.000Z (almost 2 years ago)
- Last Synced: 2025-02-06T10:29:51.473Z (8 months ago)
- Language: JavaScript
- Size: 187 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Membrane
## Installation
Download membrane at https://github.com/membrane/api-gateway/releases/latest.
Unzip it in a folder called `membrane`.## Configuration
Add the following file content:
```xml
```
## Start
```bash
cd membrane
./service-proxy.sh
```The membrane admin console will be at http://localhost:9001/admin/.
# Server
```bash
cd sse-server
npm install
node server.js
```# Client
```bash
cd sse-client
```And open the `index.html` in your browser.
You can watch the calls at http://localhost:9001/admin/calls/.