Logo

dev-resources.site

for different kinds of informations.

An opinionated guide to Event Sourcing in Typescript. Kickoff

Published at
12/31/2024
Categories
eventsourcing
typescript
eventdriven
cqrs
Author
dariowoollover
Author
14 person written this
dariowoollover
open
An opinionated guide to Event Sourcing in Typescript. Kickoff

Who am I?

Hi! If you are here, you stumbled upon my LinkedIn profile, where I promoted this series. You probably came here from Substack (if not, please subscribe to get all the updates just in time).

I'm a passionate developer who has this crazy idea (yet not so "disruptive") to log the building of a full example of event sourcing, from event storming to the depiction of aggregates and the event store from scratch. I've zero academic learnings; all I know is what I learned on the field and writing tons of lines of code.

I'm one of the founders of Plannix.co and here I develop mostly the backend as CTO.

Why this series?

This series comes out after a 12-month-long study of how to implement this technology in our startup.

I've iterated this project at least 6 times, starting every time from scratch, so you are peaking inside a long (and most nightly) journey. Please be patient if you find antipatterns or mistakes. It's an exploration of a random tech guy, not the Bible of Event Sourcing. So take it as what it is: an exploration. Not a manual or a guide

What is my goal?

I'd like to pass the concepts why I felt in love with this architecture because once the set up is done, its advantages are countless.

What we are building

Well, I hate examples that involve To-Do lists, because this kind of domain is too simple to tackle the complexity of read models or aggregates. So I stepped out and looked at what I liked most except coding. And I found that poetry is a good field.

We'll build a backend for hypothetical software that has to manage the poetry slam events worldwide. Using concepts like poets, MCs, games, turns voting, and tournaments.

If you don't know what a poetry slam is, feel free to have a basic knowledge of this great form of expression and living poetry following this link: POETRY SLAM

How long will be this series?

Well, I don't know. I have jotted out a scheme in Obsidian and it looks like at least 46 articles. I'm writing this first one to get committed and make some noise about it. It will be a technical journal where I'll try to explain the reasons why I made certain choices and leave to the Internet some experience I never found in my exploration. I hope this series will help you have better knowledge, reuse some of my code, and enjoy the painful architecture from scratch, with the sweats and swears of a common dev that felt in love with code and working systems.

I encourage you to comment and engage in the conversation any time you want, I think confrontation is always a great value in the developer's community and indeed I love the motto of rough consensus.

I love the running code, not my ideas per se. So, come abroad and let's talk.

There will be a GitHub repo that will be updated alongside the publishing of articles.
Find my GH profile HERE

eventsourcing Article's
30 articles in total
Favicon
An opinionated guide to Event Sourcing in Typescript. Kickoff
Favicon
Event Sourcing in Microservices
Favicon
Introduction to Event Sourcing for .NET Developers
Favicon
Implementing CQRS and Event Sourcing in .NET Core 8
Favicon
Exploring DDD, CQRS, and Event Sourcing: Insights from a complex project
Favicon
Research Inquiry!
Favicon
Object-oriented event sourcing
Favicon
Deriving state from events
Favicon
Functional event sourcing example in Kotlin
Favicon
Functional event sourcing
Favicon
Simple Event-Sourcing with EF Core and SQL Server
Favicon
Command Query Responsibility Segregation | CQRS
Favicon
Getting Started with Event Sourcing and EventSourcing.Backbone
Favicon
Railway Event Processor: Safe integrations in Event Sourcing
Favicon
Event Sourcing
Favicon
Data Engineering Trends for 2023
Favicon
Don’t be a CRUD boomer πŸ‘¨β€πŸ¦³, check out this new Event Sourcing library!
Favicon
Event Sourcing Outgrows the Database
Favicon
πŸ‘· Serverless event-sourcing with AWS: State of the art data synchronization ⚑
Favicon
Java Quarkus CQRS and EventSourcing microservice example πŸ‘‹πŸ’«βœ¨
Favicon
Event sourcing - basic concepts
Favicon
Java Spring EventSourcing and CQRS Clean Architecture microservice πŸ‘‹βš‘οΈπŸ’«
Favicon
Go EventSourcing and CQRS microservice using EventStoreDB πŸ‘‹βš‘οΈπŸ’«
Favicon
Event Sourcing - Stream Metadata
Favicon
Developer-friendly event sourcing
Favicon
Why you might eventually wish you started out using event sourcing
Favicon
What Is Event Sourcing?
Favicon
Did you know: local-first-cooperation?
Favicon
Clean Event-Driven Architecture
Favicon
Event Sourcing: Events Evolution, Versioning, and Migration

Featured ones: