Coder Social home page Coder Social logo

rcardin / functional-event-sourcing-in-kotlin Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 1.67 MB

A toy project to explore the capabilities of functional event-sourcing using Kotlin

License: MIT License

Kotlin 88.72% Java 11.28%
event-sourcing functional-event-sourcing functional-programming kotlin arrow-kt eventstoredb kotest testcontainers hexagonal-architecture sqldelight coroutines-flow

functional-event-sourcing-in-kotlin's Introduction

Kotlin Version GitHub Workflow Status (with branch) ktlint

Functional Event-Sourcing in Kotlin

A toy project to explore the capabilities of functional event-sourcing using Kotlin

User Stories

The project try to implement the following user stories. The domain is a simplified stock trading system.

  • A user should create a new portfolio.
  • A user should buy stocks for an existing portfolio.
  • A user should sell stocks that it owns.
  • A user should close a portfolio.

Event Storming / Domain Modeling

The following diagram shows the domain model of the system. The model is based on the user stories above.

Event Storming for the Portfolio Domain

Technology Stack

The project uses the following technologies:

References

The project is heavily inspired by the following resources:

functional-event-sourcing-in-kotlin's People

Contributors

rcardin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.