Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeantessier/wisper-example
A simple test of `wisper` pub/sub gem for Ruby on Rails
https://github.com/jeantessier/wisper-example
Last synced: about 1 month ago
JSON representation
A simple test of `wisper` pub/sub gem for Ruby on Rails
- Host: GitHub
- URL: https://github.com/jeantessier/wisper-example
- Owner: jeantessier
- Created: 2021-04-02T00:20:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T22:55:17.000Z (8 months ago)
- Last Synced: 2024-04-26T00:13:32.024Z (8 months ago)
- Language: Ruby
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wisper Example
This example shows how to use the `wisper` gem for event-based processing. See
[Wisper](https://github.com/krisleech/wisper) for more details.A single `EchoController` publishes events.
A single subscriber listens for events. It is registered in the `wisper.rb`
initializer. It listens only to a single specific event type.## Running the Server
You can start the application with:
$ bin/rails server
And use the base URL http://localhost:3000/echo/index
`GET` requests will get echoed in the Sidekiq logs.