avthart / spring-boot-axon-sample

Sample application using Spring Boot, Axon, AngularJS and Websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot Axon Sample

Introduction

This is a sample application to demonstrate Spring Boot (1.5.x) and Axon Framework (3.x).

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

Sample application using Spring Boot, Axon, AngularJS and Websockets


Languages

Language:Java 44.7%Language:JavaScript 20.6%Language:CSS 17.4%Language:HTML 17.3%