https://github.com/biril/sse-toy
Toy SSE client & server
https://github.com/biril/sse-toy
example sse
Last synced: 11 months ago
JSON representation
Toy SSE client & server
- Host: GitHub
- URL: https://github.com/biril/sse-toy
- Owner: biril
- License: mit
- Created: 2015-11-19T17:37:56.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-19T22:08:01.000Z (about 10 years ago)
- Last Synced: 2025-02-07T14:41:51.075Z (about 1 year ago)
- Topics: example, sse
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
SSE Toy
-------
Simple SSE client & server, to get you (me) started. Makes use of
[Yaffle's EventSource](https://github.com/Yaffle/EventSource) polyfill. To run, make sure you have
node, npm and bower (the latter is just an `npm install -g bower` away). Then `cd` into the `sse-toy`
directory and
```
npm install
bower install
node server.js
```
Point browser(s) to `localhost:3333` and watch the mesmerising `tick` events.
----
Licensed and freely distributed under the MIT License (LICENSE.txt).