Skip to content
/ tsmq Public

Simple message brokering with TypeScript and Redis

License

Notifications You must be signed in to change notification settings

redte-ch/tsmq

Repository files navigation

tsmq

Simple content-based message broker for microservices written in TypeScript.

Features

tsmq allows you to:

  • Publish messages to a topic (e.g. Free taxis in Paris)
  • Subscribe to a topic to be notified when a message is published
  • Define a constraint for messages you want to receive (e.g. In Paris)

Installation

tsmq uses Node.js and Yarn.

To install tsmq locally, run:

git clone [email protected]:redte-ch/tsmq.git
cd tsmq
yarn install

Usage

To start the broker:

yarn start

To publish a message:

yarn publish topic="topic" "Filter"

To subscribe to a topic:

yarn subscribe topic="topic" "Filter"

Testing

To run the tests:

yarn test

About

Simple message brokering with TypeScript and Redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published