0.0.2 • Published 12 years ago

mbroker_http v0.0.2

Weekly downloads
12
License
-
Repository
github
Last release
12 years ago

HTTP-based message broker

Introduction

This is a trivial message broker implementation that utilizes HTTP as its transport. I built this purely as a project to learn node.js. It is certainly not intended to be production-grade software.

Installation and Startup

  1. wget 'https://github.com/ycombinator/mbroker_http/archive/master.zip'
  2. cd mbroker_http-master
  3. npm install
  4. node app.js

HTTP APIs

List topics

GET /topics

Create a new topic

PUT /topic/{id}

Send a message to topic(s)

POST /messages { "to": [ "topic1", "topic2" ], "message": "Hello" }

Get all unread messages in a topic

GET /topic/{id}/messages/unread

Get all messages in a topic

GET /topic/{id}/messages

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago