An open API service indexing awesome lists of open source software.

https://github.com/playerx/nx-cqrs


https://github.com/playerx/nx-cqrs

Last synced: 13 days ago
JSON representation

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` -