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
- Host: GitHub
- URL: https://github.com/samuel-ricardo/cajuzinho
- Owner: Samuel-Ricardo
- License: mit
- Created: 2024-01-19T20:16:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T17:24:18.000Z (about 2 years ago)
- Last Synced: 2025-03-04T08:44:45.236Z (over 1 year ago)
- Language: Java
- Size: 2.64 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.

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: