Thiswang / spring-boot-axon-sample

Sample application using Spring Boot, Axon, ElasticSearch, AngularJS and Websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

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

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 filesystem implementation which comes with Axon
  • The query model is backed by a local ElasticSearch node (running in the same JVM) using Spring Data ElasticSearch
  • The user interface is updated asynchronously via stompjs over websockets using Spring Websockets support

Documentation

About

Sample application using Spring Boot, Axon, ElasticSearch, AngularJS and Websockets


Languages

Language:Java 50.0%Language:JavaScript 18.6%Language:CSS 15.8%Language:HTML 15.6%