Event Sourcing example application

This is code example for a simple Event Sourcing and CQRS application using Javascript.

Mattias Holmqvist


We recently published the first versions of our Aggregates API and Projections API.

We created a simple example application that shows how you can build a CQRS/Event Sourcing application using Node.js and Express. If you’re not that familiar with Node.js the code should be quite easy to port to other programming languages and platforms.

The application showcases our APIs and is not in any way a gold standard for how to build web applications and that’s why we deliberately chose to use plain Javascript and JQuery for the frontend. No fancy frameworks.

You can see the application live here.

Check out the source code below: