Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwarwick/node-messageserver
Node.js + Express + Faye message server
https://github.com/jwarwick/node-messageserver
Last synced: about 6 hours ago
JSON representation
Node.js + Express + Faye message server
- Host: GitHub
- URL: https://github.com/jwarwick/node-messageserver
- Owner: jwarwick
- Created: 2012-03-10T04:25:25.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-03-18T02:38:49.000Z (over 12 years ago)
- Last Synced: 2023-04-13T20:27:16.966Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 461 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Message Server with Node.js, Express and Faye
## Built with
* [node.js](http://nodejs.org/)
* [express](http://expressjs.com/)
* [Faye](http://faye.jcoglan.com/)
* [Smoothie Charts](http://smoothiecharts.org/)## Usage
Server runs on port 8000 by default.
POST json messages to the `/data` url and they are graphed on connected clients.% node server.js
% curl -v -H "Content-Type: application/json" -X POST -d '{"id": 1, "data" : 1.5}' http://127.0.0.1:8000/data