An open API service indexing awesome lists of open source software.

https://github.com/samuel-ricardo/cajuzinho

Foodcard with CQRS & Event Sourcing | Powered by AxonIQ
https://github.com/samuel-ricardo/cajuzinho

Last synced: 3 months ago
JSON representation

Foodcard with CQRS & Event Sourcing | Powered by AxonIQ

Awesome Lists containing this project

README

          

# 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](https://github.com/Samuel-Ricardo/cajuzinho/assets/63983021/441ce52f-7a84-47fe-b6be-5bc138078f9e)

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
$ git clone "git@github.com:Samuel-Ricardo/cajuzinho.git"
```

### Make Pull

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


You just need to install [IntelliJ IDE](https://www.jetbrains.com/), Java and download maven dependencies with IntelliJ, after this you can run the project.


#


:octocat: | Author:

>

- Samuel Ricardo