jrajani / mini-bank

This is a sample project prepared for Axon demo using spring boot, axonhub, axondb and mysql. The axon framework is a good choice if you want to develop microservices using CQRS approach.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mini-bank

Pre-requisites

  • Axon Hub 1.1
  • Axon DB 1.3.5
  • MySQL
  • Java 8

Running the application

  1. Update the axonhub.properties

This property will be commented. Please uncomment and set localhost as its value

# Comma-separated list of AxonDB servers
axoniq.axondb.servers=localhost
  1. Run axondb-server
java -jar axondb-server.jar
  1. Run axonhub-server
java -jar axonhub-server.jar
  1. Start mysql
  2. Start mb-query
mvn clean spring-boot:run 
  1. Start mb-command
mvn clean spring-boot:run 

You can verify the setup by opening Axon Hub url. You should see an overview similar to the following image.

Axon Hub Overview

  1. Start mb-gui
mvn clean spring-boot:run 

Useful links - Local Server

About

This is a sample project prepared for Axon demo using spring boot, axonhub, axondb and mysql. The axon framework is a good choice if you want to develop microservices using CQRS approach.

License:Apache License 2.0


Languages

Language:Java 100.0%