All Projects → RisingStack → Cqrs Example

RisingStack / Cqrs Example

CQRS: Command Query Responsibility Segregation - Node.js at Scale

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Cqrs Example

Magazine Website Akka
The experiment on the akkadotnet
Stars: ✭ 21 (-72%)
Mutual labels:  cqrs
Tools
C# 工具箱,提供Socket(TCP、UDP协议)、Redis、activemq、数据库访问等技术的封装实现
Stars: ✭ 34 (-54.67%)
Mutual labels:  cqrs
Fblazorshop
This is a port of Steve Sanderson's Pizza Workshop for Blazor by using F# and Bolero.
Stars: ✭ 58 (-22.67%)
Mutual labels:  cqrs
Rails event store
A Ruby implementation of an Event Store based on Active Record
Stars: ✭ 947 (+1162.67%)
Mutual labels:  cqrs
Foxoffice
Sample application demonstrating how to build a distributed cloud .NET Core application based on CQRS and Event Sourcing.
Stars: ✭ 33 (-56%)
Mutual labels:  cqrs
Jdonframework
Domain-Driven-Design Pub/Sub Domain-Events framework
Stars: ✭ 978 (+1204%)
Mutual labels:  cqrs
Nestjs Cqrs Starter
Nestjs-cqrs API
Stars: ✭ 25 (-66.67%)
Mutual labels:  cqrs
Eventstore.akka.persistence
Event Store Journal for Akka Persistence
Stars: ✭ 72 (-4%)
Mutual labels:  cqrs
Tydux
Type safe state management for web applications
Stars: ✭ 33 (-56%)
Mutual labels:  cqrs
Asombroso Ddd
Una lista cuidadosamente curada de recursos sobre Domain Driven Design, Eventos, Event Sourcing, Command Query Responsibility Segregation (CQRS).
Stars: ✭ 41 (-45.33%)
Mutual labels:  cqrs
Practical Clean Ddd
A simplified and effortless approach to get started with Domain-driven Design, Clean Architecture, CQRS, and Microservices patterns
Stars: ✭ 28 (-62.67%)
Mutual labels:  cqrs
Factory
The missing, complete example of Domain-Driven Design enterprise application backed by Spring stack
Stars: ✭ 967 (+1189.33%)
Mutual labels:  cqrs
Ultimate Backend
Multi tenant SaaS starter kit with cqrs graphql microservice architecture, apollo federation, event source and authentication
Stars: ✭ 978 (+1204%)
Mutual labels:  cqrs
Django Cqrs
A demo application to show how cqrs can be implemented in Django
Stars: ✭ 21 (-72%)
Mutual labels:  cqrs
Event Sourcing Castanha
An Event Sourcing service template with DDD, TDD and SOLID. It has High Cohesion and Loose Coupling, it's a good start for your next Microservice application.
Stars: ✭ 68 (-9.33%)
Mutual labels:  cqrs
Wolkenkit
wolkenkit is an open-source CQRS and event-sourcing framework based on Node.js, and it supports JavaScript and TypeScript.
Stars: ✭ 880 (+1073.33%)
Mutual labels:  cqrs
Bank api
Code from the Event Sourcing With Elixir blog series
Stars: ✭ 35 (-53.33%)
Mutual labels:  cqrs
Simplecqrs Fsharp
Simple CQRS implemented with F#
Stars: ✭ 72 (-4%)
Mutual labels:  cqrs
Cqrswithmediatr
CQRS implementation in .NET Core with MediaTR tutorial
Stars: ✭ 71 (-5.33%)
Mutual labels:  cqrs
Go Cqrs All
All-in-one collection for Go CQRS / ES / DDD examples
Stars: ✭ 39 (-48%)
Mutual labels:  cqrs

cqrs-example

CQRS with Denormalizer example repo for the Node.js at Scale blog series

Requirements

  • Node.js
  • RabbitMQ: brew install rabbitmq

Usage

npm start

CQRS example

In this example you can see how an imaginary user service emits change events. A denormalizer listens for these change events and stores a subset of the user (name only) in a Reporting Database for further client queries.

Because of eventually consistency the Reporting Database is may out of sync.

Inputs

Create user:  { name: 'John Doe', state: 'default' }
Update user's state:  { state: 'churn' }
Rename user:  { name: 'John Smith' }

Output

Running...
User in user service database { id: 'aaa', name: 'John Smith', state: 'churn' }
User in Reporting Database { name: 'John Smith' }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].