Samuel-Ricardo / cajuzinho

Foodcard with CQRS & Event Sourcing | Powered by AxonIQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cajuzinho

πŸš€ 🟧 Cajuzinho πŸŸ₯ πŸš€

Foodcard with CQRS & Event Sourcing | Powered by AxonIQ

|   Overview   |    Technologies   |    Project   |   Routes   |    Run   |   Author   |   


| πŸ›°οΈ About:

This project is a small implementations of Caju Benefits. To keep a good scope i implemented only the Foodcard funtionality using CQRS and Event Sourcing with AxonIQ and Spring Framework by building a hybrid web service that uses Kotlin and Java.

| πŸ—οΈ - Technologies and Concepts Studied:


  • Java
  • Kotlin
  • Spring Framework
  • AxonIQ
  • CQRS
  • Event Sourcing
  • PostgreSQL
  • H2 Database
  • Error Handler

Among Others...

πŸ’» | Application:


This project is inspired by Caju Benefits with focus on Foodcard that you can create and use to select your products and buy, all this is asynchronus and 100% based on Events that are stored to bring data auditability. All this was made with Comand Query Responsability Segregation Architeture.


image

As you can see, i map the Aggregate, commands and the respective events that they generate. And basically the creation of a Foodcard, selection and deselection of products in list, you can confirm to realize the purchase.

I use the Axon Server to handle this events, but you can replace this Kafka or RabbitMQ as example.


πŸ‘¨β€πŸ’» | How to use


Open your Git Terminal and clone this repository

  $ git clone "git@github.com:Samuel-Ricardo/cajuzinho.git"

Make Pull

  $ git pull "git@github.com:Samuel-Ricardo/cajuzinho.git"

You just need to install IntelliJ IDE, Java and download maven dependencies with IntelliJ, after this you can run the project.


:octocat: | Author:


- Samuel Ricardo


About

Foodcard with CQRS & Event Sourcing | Powered by AxonIQ

License:MIT License


Languages

Language:Java 76.7%Language:Kotlin 23.3%