Straightforward Event Sourcing with TypeScript and NodeJS

This page summarizes the projects mentioned and recommended in the original post on /r/node

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • evtstore

    Event Sourcing and CQRS with Node.js and TypeScript

  • This is cool to see! I haven't really seen other uses of non-OO event sourcing in NodeJS. My library (evtstore) looks very similar to this, but it uses other popular databases (postgres, mysql, mongodb, ...) as a backend instead.

  • rudder-sdk-js

    JavaScript SDK for RudderStack - the Customer Data Platform for Developers.

  • Good article. And for production ready robust event sourcing, open-source project - Rudderstack can be used. Which requires to drop in the front end SDK in the code and specify the data destination.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Marten

    .NET Transactional Document DB and Event Store on PostgreSQL

  • Thanks for the feedback and the link! Indeed that looks similar. I think that too many NodeJS tooling is made by C# or Java devs bringing their OOP habits. In my opinion, TypeScript and NodeJS development shines the most when you're cutting all the boilerplate and keeping things simple. Functional composition helps in that. I'm also coming from the .NET world and am co-maintainer of the Postgres-based library: https://martendb.io/, but I try to keep my OOP habits on a leash ;) Out of curiosity, how are you dealing with the eventual consistency and the read-your-own-writes guarantee on MongoDB in your library?

  • esdf

    A minimal event-sourcing / domain-driven design framework for Node.js, aiming to help produce fast, reliable and maintainable software.

  • https://github.com/rkaw92/esdf - the library

  • esdf-store-redis

    Redis Event Sink/Streamer implementation for ESDF.

  • https://github.com/rkaw92/esdf-store-redis - the storage adapter for persisting, rehydrating and streaming events

  • esdf2-eventstore-pg

    a PostgreSQL-backed Event Store + Outbox for esdf2

  • esdf2

    Event-Sourced Domain Framework - now with TypeScript [work in progress]

  • Mutable entities - i.e. "normal people classes" - https://github.com/rkaw92/esdf2/blob/main/src/test/mutable.test.ts

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts