JavaScript community news log

×

Daily JavaScript community news and chat

A RubyFlow-inspired community news site for JavaScript and related technologies.

Anyone can post news to be seen by the community (and maybe selected for JavaScript Weekly!)

Add git-like functionality to your application using Event Sourcing

http://hecodes.com/2017/05/event-sourcing-in-node-js-add-git-like-functionality-to-your-application/

In this post we’ll implement a product catalog using event sourcing, node.js and neo4j. Event sourcing will enable us to support neat git-like features such as versioning, branching and merging that would be very hard to support with a more traditional approach. We’ll use neo4j because, as you’ll see below, storing our data as a graph fits perfectly with the application and will allow us to do queries more efficiently that using other types of databases (RDMBS, document, key-value, etc…).

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in