Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/max-mapper/cat-lobby
simple http+sse based lobby server with cat themed room names
https://github.com/max-mapper/cat-lobby
Last synced: about 1 month ago
JSON representation
simple http+sse based lobby server with cat themed room names
- Host: GitHub
- URL: https://github.com/max-mapper/cat-lobby
- Owner: max-mapper
- Created: 2015-03-27T00:36:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-02T20:35:24.000Z (almost 10 years ago)
- Last Synced: 2024-10-17T17:29:45.982Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 30
- Watchers: 3
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-github-repos - max-mapper/cat-lobby - simple http+sse based lobby server with cat themed room names (JavaScript)
README
# cat-lobby
simple http+sse based lobby server with cat themed room names
[![RUN Cat-Lobby ON OpenShift](http://launch-shifter.rhcloud.com/launch/RUN Cat-Lobby ON.svg)](https://openshift.redhat.com/app/console/application_type/custom?&cartridges[]=nodejs-0.10&initial_git_url=https://github.com/maxogden/cat-lobby.git&name=cat-lobby)
### install + run
```
npm install cat-lobby -g
cat-lobby
```### HTTP API
#### POST `/`
creates a new lobby. receives response `{name: new lobby name}`
#### POST `/ping/:name`
#### POST `/pong/:name`POST JSON to either the ping or pong channel. upload must be JSON and will be streamed out to anyone listening to pings/pongs. no response body
#### GET `/pings/:name`
#### GET `/pongs/:name`listen to pings or pongs using Server-Sent Events