https://github.com/pedrofurtado/outbox-ruby
Outbox pattern in Ruby. Just for fun.
https://github.com/pedrofurtado/outbox-ruby
Last synced: about 1 month ago
JSON representation
Outbox pattern in Ruby. Just for fun.
- Host: GitHub
- URL: https://github.com/pedrofurtado/outbox-ruby
- Owner: pedrofurtado
- Created: 2024-01-21T23:15:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-22T00:59:52.000Z (over 1 year ago)
- Last Synced: 2025-01-25T23:55:24.563Z (3 months ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Outbox pattern in ruby
Outbox pattern in Ruby. Just for fun.
```bash
# Run the application at http://localhost:9292
docker-compose up --build -d# Check pages http://localhost:9292/messages and http://localhost:9292/pending-messages
curl http://localhost:9292/messages
curl http://localhost:9292/pending-messages# Send a new message to outbox
curl -X POST -H "Content-Type: application/json" -d '{"message_type":"notification","message_body":"Hello, World!"}' http://localhost:9292/create-message
```