当前位置: 首页 > 软件库 > 云计算 > 云原生 >

SuperSafeBank

授权协议 Readme
开发语言 Java
所属分类 云计算、 云原生
软件类型 开源软件
地区 不详
投 递 者 阴雪风
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

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.

Give a Star! ⭐️

Did you like this project? Give it a star, fork it, send me a PR or sponsor me!