shamresh / SuperSafeBank

Sample Event Sourcing implementation with .net core

Home Page:https://www.davideguida.com/event-sourcing-in-net-core-part-1-a-gentle-introduction/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SuperSafeBank

SuperSafeBank

This repository shows how to implement Event Sourcing, CQRS and DDD in .NET Core, using a Bank as example.

The code has been used as example accompaining a few series of articles on my personal blog:

An ASP.NET Core API is used as entry-point for all the client-facing operations:

  • create customers
  • create accounts
  • deposit money
  • withdraw money

Infrastructure

The system is hosted on Azure, using CosmosDB and ServiceBus. An "on-premise" version is available as well, which uses

  • EventStore to keep track of all the events
  • Kafka to broadcast the integration events
  • MongoDb to store the QueryModels used by the API

The on-premise infrastructure can be spin up by simply running docker-compose up from the root folder.

About

Sample Event Sourcing implementation with .net core

https://www.davideguida.com/event-sourcing-in-net-core-part-1-a-gentle-introduction/


Languages

Language:C# 100.0%