Skip to content

ap1kenobi/todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

To create a standard spring boot executable jar

mvn clean install

To create a docker image

mvn clean install -Pdocker

To override the default docker host and port

mvn -Ddocker.machine.host='docker.host' -Ddocker.machine.port='docker.ssl.port' clean install -Pdocker

Running

cd todo-web

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

A sample axon application using spring boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published