https://github.com/playerx/nx-cqrs
https://github.com/playerx/nx-cqrs
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/playerx/nx-cqrs
- Owner: playerx
- Created: 2020-12-22T19:29:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-06T19:07:57.000Z (over 5 years ago)
- Last Synced: 2025-02-24T14:26:53.928Z (over 1 year ago)
- Language: TypeScript
- Size: 964 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Microservices Prototype
Event-driven architecture
## Naming
- `Command` (RPC) - Always in imperative form. Shouldn't return data back, but can return unique message id.
- `Query` (RPC) - Request to query data. Always returns data back
- `Event` - Always in past. Usually it's a result of the Command. One Command can create multiple Events as well. Not awaitable.
- `Message` - All of them are called messages
## Transports
- `MemoryTransport` - `Ready` In-memory rxjs implementation
- `RabbitMQTransport` -
- `SnsSqsTransport` -
- `SocketIoServerTransport` -
- `SocketIoClientTransport` -
- `WebSocketTransport` -