A sample project using this pattern inspired from https://github.com/kotato/axon-examples
Before start project, create in MySql this two databases
CREATE DATABASE IF NOT EXISTS orders_write_model;
CREATE DATABASE IF NOT EXISTS orders_read_model;
Username is root and password root001. Change if is needed