https://github.com/shearichard/react-sse-sandbox
Experiments with React and using server-sent-events
https://github.com/shearichard/react-sse-sandbox
react reactjs server-sent-event server-sent-events
Last synced: 3 months ago
JSON representation
Experiments with React and using server-sent-events
- Host: GitHub
- URL: https://github.com/shearichard/react-sse-sandbox
- Owner: shearichard
- License: gpl-3.0
- Created: 2022-04-06T01:40:57.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-13T04:35:23.000Z (about 3 years ago)
- Last Synced: 2025-03-02T10:09:18.483Z (4 months ago)
- Topics: react, reactjs, server-sent-event, server-sent-events
- Language: JavaScript
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-sse-sandbox
Experiments with using a React application to be the recipient of server-sent-events.## Running the test
### Client
```
$ yarn dev --host 0.0.0.0
```Then use a browser to naviagate to localhost:3000.
### Server
From the dev_tools/node_sse_server area of the react-using-camera project ...```
$ node server.js
```