Code Monkey home page Code Monkey logo

cqrs-eventsourcing-user-management-example's Introduction

CQRS and event sourcing app Build Status

CQRS and event sourcing using dynamic groovy, spring-boot and spring-webflux

Status: in progress, implemented in-memory event store only, follow updates...

run kafka

rm -rf /tmp/c ; git clone --depth=1 https://github.com/confluentinc/cp-docker-images.git /tmp/c
docker-compose -f /tmp/c/examples/kafka-single-node/docker-compose.yml up -d
docker-compose -f /tmp/c/examples/kafka-single-node/docker-compose.yml down -v --rmi local

run app and test

./gradlew bootRun

http :8080/api/v1/messages message=hello
http :8080/api/v1/messages message=world
http :8080/api/v1/messages
http :8080

NOTE: For better developer experience during testing, use idea cURL integration tests from rest-client* files. Read more: https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html

why?

just see how everything is clear in next analitics:

  • OrderCreated(id=123)
  • ItemAdded(product=Bose Headphones, price=400)
  • FollowSimilarItemsLink(product=Sony Headphones)
  • AccessReviews()
  • VoteReviewHelpful(answer=5/5)
  • ItemAdded(product=Sony Headphones, price=450)
  • ItemRemoved(product=Bose Headphones, price=400)
  • OrderConfirmed()
  • OrderShipped()

resources:

cqrs-eventsourcing-user-management-example's People

Contributors

daggerok avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

krishnamurtyp

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.