Thanks to visit codestin.com
Credit goes to github.com

Skip to content

litesoft-java/Axon4Example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Axon Sample

Introduction

This is a sample application to demonstrate Spring Boot and Axon Framework.

The original source was Spring Boot (1.5.x) and Axon Framework (3.x) using Synchronous Projections, and was sourced from (thanks to, Albert van 't Hart):

https://github.com/avthart/spring-boot-axon-sample

The code has been updated to use Spring Boot (2.3.3) and Axon Framework (4.3). Different branches use different techniques to manage the Projections.

The Todo application makes use of the following design patterns:

  • Domain Driven Design
  • CQRS
  • Event Sourcing
  • Task based User Interface

Building

mvn package

Running

mvn spring-boot:run

Browse to http://localhost:8080/index.html

Implementation

Implementation notes:

  • The event store is backed by a JPA Event Store implementation which comes with Axon
  • The query model is backed by a Spring Data JPA Repository
  • The user interface is updated asynchronously via stompjs over websockets using Spring Websockets support

Roadmap

  • Add unit and integration tests
  • Replace JPA EventStore with AxonDB
  • Convert AngularJS to Angular, ReactJS or other

Documentation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published