Skip to content

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

Notifications You must be signed in to change notification settings

fischermatte/spring-boot-axon-todo-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Build Status

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

The Todo application makes use of the following design patterns:

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

Building

mvn package

Running

Starts spring boot app with local elasticsearch and InMemory event store.

mvn spring-boot:run

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

Running (with elasticsearch cluster)

Builds a docker image with the spring boot app and runs it with an elastic search cluster

mvn install -P docker-build docker-compose up

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

Implementation

Implementation notes:

  • The event store is currently backed by a InMemory implementation which comes with Axon
  • The query model is backed by a local ElasticSearch node (running in the same JVM) using Spring Data ElasticSearch (can be changed to a cluster in application.properties)
  • 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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 44.2%
  • JavaScript 21.1%
  • HTML 18.8%
  • CSS 15.9%