• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    JavaScript
  • Created almost 12 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CQRS, EventSourcing, (DDDD) Sample in node.js

⚠️ IMPORTANT NEWS! πŸ“°

I’ve been dealing with CQRS, event-sourcing and DDD long enough now that I don’t need working with it anymore unfortunately, so at least for now this my formal farewell!

I want to thank everyone who has contributed in one way or another. Especially...

  • Jan, who introduced me to this topic.
  • Dimitar, one of the last bigger contributors and maintainer.
  • My last employer, who gave me the possibility to use all these CQRS modules in a big Cloud-System.
  • My family and friends, who very often came up short.

Finally, I would like to thank Golo Roden, who was there very early at the beginning of my CQRS/ES/DDD journey and is now here again to take over these modules.

Golo Roden is the founder, CTO and managing director of the native web, a company specializing in native web technologies. Among other things, he also teaches CQRS/ES/DDD etc. and based on his vast knowledge, he brought wolkenkit to life. wolkenkit is a CQRS and event-sourcing framework based on Node.js. It empowers you to build and run scalable distributed web and cloud services that process and store streams of domain events.

With this step, I can focus more on i18next, locize and localistars. I'm happy about that. 😊

So, there is no end, but the start of a new phase for my CQRS modules. πŸ˜‰

I wish you all good luck on your journey.

Who knows, maybe we'll meet again in a github issue or PR at i18next πŸ˜‰

Adriano Raiano


Introduction

This is a sample implementation of CQRS / Eventsourcing Infrastructure in node.js using:

get it up and running

  1. install and start Redis

  2. start server in host and domain folder

    node server.js
    
  3. direct your browser to

    http://localhost:3000
    

the source code is well documented to understand the core principles.

why should i care?

got the sample - where to go now?

This modules are the result of open sourcing parts of a large reallife project of a distributed system based on the principle of DDDD and CQRS. It's gone through a lot of iterations and should address most pitfalls.

The API is designed well so you can focus on the domain without worring to much about the infrastructure.

Documentation can be found here

other examples

More Repositories

1

wolkenkit

wolkenkit is an open-source CQRS and event-sourcing framework based on Node.js, and it supports JavaScript and TypeScript.
TypeScript
1,073
star
2

node-eventstore

EventStore Implementation in node.js
JavaScript
539
star
3

node-cqrs-domain

Node-cqrs-domain is a node.js module based on nodeEventStore that. It can be very useful as domain component if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.
JavaScript
269
star
4

wolkenkit-boards

wolkenkit-boards is a team collaboration application.
JavaScript
245
star
5

uuidv4

uuidv4 creates v4 UUIDs.
TypeScript
177
star
6

forcedomain

forcedomain is a middleware for Connect and Express that redirects any request to a default domain.
TypeScript
86
star
7

p2p

p2p implements a peer-to-peer protocol.
JavaScript
80
star
8

wolkenkit-eventstore

wolkenkit-eventstore is an open-source eventstore for Node.js that is used by wolkenkit.
JavaScript
79
star
9

roboter

roboter streamlines software development by automating tasks and enforcing conventions.
TypeScript
64
star
10

node-cqrs-saga

Node-cqrs-saga is a node.js module that helps to implement the sagas in cqrs. It can be very useful as domain component if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.
JavaScript
61
star
11

get-next-version

get-next-version gets the next version for your repository according to semantic versioning based on conventional commits.
Go
45
star
12

flaschenpost

flaschenpost is a logger for cloud-based applications.
TypeScript
38
star
13

node-cqrs-eventdenormalizer

Node-cqrs-eventdenormalizer is a node.js module that implements the cqrs pattern. It can be very useful as eventdenormalizer component if you work with (d)ddd, cqrs, domain, host, etc.
JavaScript
38
star
14

boolean

boolean converts lots of things to boolean.
TypeScript
37
star
15

eslint-config-es

eslint-config-es contains a strict ESLint configuration for ES2015+ and TypeScript.
TypeScript
28
star
16

buntstift

buntstift makes the CLI colorful.
TypeScript
27
star
17

node-viewmodel

Node-viewmodel is a node.js module for multiple databases. It can be very useful if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.
JavaScript
27
star
18

crypto2

crypto2 is a convenience wrapper around Node.js' crypto module.
JavaScript
25
star
19

vagrant-node

vagrant-node is the virtual machine used for Node.js development.
Shell
24
star
20

assertthat

assertthat provides fluent TDD.
TypeScript
24
star
21

techlounge-react

techlounge-react contains the samples for the free tech:lounge video course on React.
TypeScript
23
star
22

get-routes

get-routes gets all routes from an Express application.
TypeScript
22
star
23

get-graphql-from-jsonschema

get-graphql-from-jsonschema gets a GraphQL schema from a JSON schema.
TypeScript
22
star
24

tailwind

tailwind is a base module for streaming and evented CQS applications.
JavaScript
20
star
25

cases

cases provides parameterized unit tests for Mocha.
JavaScript
19
star
26

defekt

defekt is custom errors made simple.
TypeScript
19
star
27

tutum

tutum is a wrapper around Tutum's API for Node.js.
JavaScript
19
star
28

comparejs

comparejs implements JavaScript's comparison operators the way you would expect them to be.
TypeScript
18
star
29

commands-events

commands-events provides commands and events for DDD-based applications.
JavaScript
18
star
30

techlounge-docker

techlounge-docker contains the samples for the free tech:lounge video course on Docker.
JavaScript
17
star
31

wolkenkit-todomvc

wolkenkit-todomvc is a todo application.
JavaScript
16
star
32

node-evented-command

provides simple command/event handling for evented systems like cqrs
JavaScript
15
star
33

crew

crew makes managing Docker a breeze.
JavaScript
12
star
34

wolkenkit-nevercompletedgame

wolkenkit-nevercompletedgame is a wolkenkit implementation of nevercompletedgame.com.
JavaScript
11
star
35

json-lines

json-lines streams JSON Lines.
JavaScript
11
star
36

ensurethat

ensurethat validates function arguments.
JavaScript
10
star
37

wolkenkit-react

Official React bindings for wolkenkit.
JavaScript
9
star
38

cqrs

documentation for cqrs modules and libraries
JavaScript
9
star
39

thenativeweb-ux

thenativeweb-ux provides UI components for the native web applications.
TypeScript
9
star
40

runfork

runfork runs a Node.js script isolated as a process.
TypeScript
8
star
41

processenv

processenv parses environment variables.
TypeScript
8
star
42

isolated

isolated provides one-time folders for unit tests.
TypeScript
8
star
43

terminal-img

terminal-img renders an image to the terminal.
TypeScript
8
star
44

json-lines-client

json-lines-client makes parsing JSON lines streams a breeze.
JavaScript
7
star
45

bereich

bereich creates ranges of numbers.
JavaScript
7
star
46

timer2

timer2 is an evented timer.
JavaScript
7
star
47

validate-value

validate-value validates values against JSON schemas.
TypeScript
7
star
48

command-line-interface

command-line-interface is a foundation for CLI applications.
TypeScript
7
star
49

aira

aira runs loops on Roland AIRA series synthesizers.
TypeScript
7
star
50

knockat

knockat waits until a host is reachable.
TypeScript
6
star
51

measure-time

measure-time is a stopwatch.
TypeScript
6
star
52

tourism

tourism is a convenience wrapper for Grunt.
JavaScript
6
star
53

wolkenkit-documentation

wolkenkit-documentation provides the documentation for wolkenkit application developers.
JavaScript
6
star
54

wolkenkit-client-js

wolkenkit-client is a client to access wolkenkit applications.
JavaScript
5
star
55

partof

partof verifies whether one object is part of an other.
TypeScript
5
star
56

formats

formats is a collection of validators.
JavaScript
5
star
57

wolkenkit-core

wolkenkit-core is the domain server of wolkenkit.
JavaScript
5
star
58

nodeenv

nodeenv enables tests to control Node.js environment variables.
TypeScript
5
star
59

datasette

datasette is a key-value container for arbitrary data.
JavaScript
5
star
60

wolkenkit-vm

wolkenkit-vm is a Packer script to setup virtual machines that run wolkenkit.
Shell
5
star
61

findsuggestions

findsuggestions searches haystacks for needles and nails.
JavaScript
4
star
62

try-catch-expression

try-catch-expression provides try..catch as expression.
TypeScript
4
star
63

rdrct

rdrct is a URL shortener and redirection service.
TypeScript
4
star
64

reqd

reqd searches repositories for dependencies.
JavaScript
4
star
65

typedescriptor

typedescriptor identifies and describes types.
TypeScript
4
star
66

limes

limes authenticates users.
TypeScript
4
star
67

wolkenkit-chat-auth0

wolkenkit-chat-auth0 is a chat using wolkenkit and Auth0.
JavaScript
4
star
68

draht

draht provides process-level messaging.
JavaScript
4
star
69

walk-file-tree

walk-file-tree recursively fetches paths to files and directories.
TypeScript
3
star
70

sortby

sortby orders JavaScript arrays using a MongoDB-like syntax.
JavaScript
3
star
71

forany

forany runs a command on every directory.
JavaScript
3
star
72

dotfile-json

dotfile-json reads and writes dot files.
JavaScript
3
star
73

wolkenkit-vagrant

wolkenkit-vagrant provides a Vagrantfile to setup wolkenkit VMs.
3
star
74

flat-object-keys

flat-object-keys returns the flattened keys from an object.
JavaScript
3
star
75

zwitscher

zwitscher is a Twitter CLI.
JavaScript
3
star
76

datendepot

datendepot is a blob storage middleware.
JavaScript
3
star
77

wolkenkit-template-chat

wolkenkit-template-chat is an application template for wolkenkit.
JavaScript
3
star
78

record-stdstreams

record-stdstreams captures process.stdout and process.stderr.
TypeScript
3
star
79

marble-run

marble-run parallelizes asynchronous tasks while keeping some of them in order.
JavaScript
3
star
80

wait-for-signals

wait-for-signals waits for a number of signals before resolving a promise.
TypeScript
3
star
81

whatif

whatif discovers dependencies that need to be updated after updating a package.
JavaScript
3
star
82

update-node

update-node is a script to update repositories to a new Node.js version.
JavaScript
3
star
83

roboter-cli

roboter-cli is the CLI for roboter.
JavaScript
3
star
84

https-or-http

https-or-http runs an HTTPS server or, if not possible, an HTTP server.
JavaScript
2
star
85

deep-hash

deep-hash calculates nested hashes.
JavaScript
2
star
86

get-certificate

get-certificate loads a certificate and its private key from a directory.
JavaScript
2
star
87

shaker

shaker hashes and verifies passwords in a cryptographically secure way using PBKDF2.
JavaScript
2
star
88

streamtoarray

streamtoarray converts a stream to an array.
TypeScript
2
star
89

adventsspecial2021

adventsspecial2021 contains templates, code & co. for the advent special 2021.
JavaScript
2
star
90

isansi

isansi checks whether a string uses ANSI color and style.
TypeScript
2
star
91

temp--performance-workshop

JavaScript
2
star
92

temp--livestream-monitoring

Go
2
star
93

hase

hase handles exchanges and queues on RabbitMQ.
JavaScript
2
star
94

semantic-release-configuration

semantic-release-configuration contains the semantic-release configuration for the native web.
JavaScript
2
star
95

wolkenkit-broker

wolkenkit-broker is the public API server of wolkenkit.
JavaScript
2
star
96

tlse2021-fullstack-testen

tech:lounge Summer Edition 2021 // Fullstack-Testen – von der Unit bis zur UI
TypeScript
2
star
97

wolkenkit-depot

wolkenkit-depot is a service for storing large files.
JavaScript
2
star
98

wolkenkit-console

wolkenkit-console lets you execute domain code from within your browser.
JavaScript
2
star
99

is-subset-of

is-subset-of verifies whether an array or an object is a subset.
TypeScript
2
star
100

is-typescript

is-typescript checks whether a package is built using TypeScript.
TypeScript
1
star