{"id":20314139,"url":"https://github.com/samuel-ricardo/cajuzinho","last_synced_at":"2026-04-22T03:31:34.972Z","repository":{"id":218153620,"uuid":"745659766","full_name":"Samuel-Ricardo/cajuzinho","owner":"Samuel-Ricardo","description":"Foodcard with CQRS \u0026 Event Sourcing | Powered by AxonIQ","archived":false,"fork":false,"pushed_at":"2024-05-15T17:24:18.000Z","size":2773,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T08:44:45.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samuel-Ricardo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-19T20:16:59.000Z","updated_at":"2024-12-22T19:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"7664e240-7e0f-46ae-a61a-74e6907f1bd5","html_url":"https://github.com/Samuel-Ricardo/cajuzinho","commit_stats":null,"previous_names":["samuel-ricardo/cajuzinho"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Samuel-Ricardo/cajuzinho","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fcajuzinho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fcajuzinho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fcajuzinho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fcajuzinho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samuel-Ricardo","download_url":"https://codeload.github.com/Samuel-Ricardo/cajuzinho/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fcajuzinho/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32119722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T18:14:08.319Z","updated_at":"2026-04-22T03:31:34.958Z","avatar_url":"https://github.com/Samuel-Ricardo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cajuzinho\n\n\u003cp align=\"center\"\u003e \n  \u003ca href=\"https://www.caju.com.br/\" target=\"_blank\"\u003e\n    \u003cimg width=\"80%\" src=\"https://rhpravoce.com.br/wp-content/uploads/2023/10/caju1.png\" style=\"border-radius: 10px;\"/\u003e\n  \u003c/a\u003e \n\u003c/p\u003e\n\n\u003ch4 align=\"center\" \u003e🚀 🟧 Cajuzinho 🟥 🚀\u003c/h4\u003e\n\n\u003ch4 align=\"center\"\u003e\n  Foodcard with CQRS \u0026amp; Event Sourcing | Powered by AxonIQ\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  |\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#project\"\u003eOverview\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#techs\"\u003eTechnologies\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#app\"\u003eProject\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#routes\"\u003eRoutes\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#run-project\"\u003eRun\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#author\"\u003eAuthor\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003c/p\u003e\n\n#\n\n\u003ch1 align=\"center\"\u003e\n  \n  \u003ca href=\"https://github.com/Samuel-Ricardo\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=GITHUB\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca herf=\"https://www.instagram.com/samuel_ricardo.ex/\"\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel.ex\u0026color=black\u0026style=for-the-badge\u0026logo=instagram'/\u003e \n  \u003c/a\u003e\n\n  \u003ca herf='https://www.linkedin.com/in/samuel-ricardo/'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=LinkedIn'/\u003e \n  \u003c/a\u003e\n\n\u003c/h1\u003e\n\n\u003cbr\u003e\n\n\u003cp id=\"project\"/\u003e\n\n\u003ch2\u003e | 🛰️ About:  \u003c/h2\u003e\n\n\u003cp\u003e\n  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.\n\u003c/p\u003e\n\n\u003ch2 id=\"techs\"\u003e\n| 🏗️ - Technologies and Concepts Studied:\n\u003c/h2\u003e\n\n\u003e \u003ca href='https://www.axoniq.io/'\u003e \u003cimg width=\"40px\" src=\"https://lp.axoniq.io/hs-fs/hubfs/Logo%20AxonIQ.png?width=190\u0026height=40\u0026name=Logo%20AxonIQ.png\" /\u003e \u003c/a\u003e\n\n\u003cbr\u003e\n\n- Java\n- Kotlin\n- Spring Framework\n- AxonIQ\n- CQRS\n- Event Sourcing\n- PostgreSQL\n- H2 Database\n- Error Handler\n\n\u003e Among Others...\n\u003e \u003cbr\u003e\n\n#\n\n\u003ch2 id=\"app\"\u003e\n  💻 | Application:\n\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"80%\" style=\"border-radius: 10%;\" src=\"https://assets-global.website-files.com/620135165cdb9f1d60b5d1e3/6585e9f61420f5f2e1a0711a_homeoffice.jpg\"/\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cp\u003e\n  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.\n\u003c/p\u003e\n\n\u003c/br\u003e\n\n\n![image](https://github.com/Samuel-Ricardo/cajuzinho/assets/63983021/441ce52f-7a84-47fe-b6be-5bc138078f9e)\n\n\n\u003cp\u003e\n\nAs 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.\n\n\u003c/p\u003e\n\n\u003cp\u003e\n  I use the Axon Server to handle this events, but you can replace this Kafka or RabbitMQ as example.\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003ch2 id=\"run-project\"\u003e \n   👨‍💻 | How to use\n\u003c/h2\u003e\n\n\u003cbr\u003e\n\n### Open your Git Terminal and clone this repository\n\n```git\n  $ git clone \"git@github.com:Samuel-Ricardo/cajuzinho.git\"\n```\n\n### Make Pull\n\n```git\n  $ git pull \"git@github.com:Samuel-Ricardo/cajuzinho.git\"\n```\n\n\u003cbr\u003e\n\nYou just need to install [IntelliJ IDE](https://www.jetbrains.com/), Java and download maven dependencies with IntelliJ, after this you can run the project.\n\n\u003cbr\u003e\n\n#\n\n\u003ch2 id=\"author\"\u003e\n  :octocat: | Author:  \n\u003c/h2\u003e\n\n\u003e \u003ca target=\"_blank\" href=\"https://www.linkedin.com/in/samuel-ricardo/\"\u003e \u003cimg width=\"350px\" src=\"https://github.com/Samuel-Ricardo/bolao-da-copa/blob/main/readme_files/IMG_20220904_220148_188.jpg?raw=true\"/\u003e \u003cbr\u003e \u003cp\u003e \u003cb\u003e - Samuel Ricardo\u003c/b\u003e \u003c/p\u003e\u003c/a\u003e\n\n\u003ch1\u003e\n  \u003ca herf='https://github.com/Samuel-Ricardo'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=GITHUB'\u003e \n  \u003c/a\u003e\n  \n  \u003ca herf='https://www.instagram.com/samuel_ricardo.ex/'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel.ex\u0026color=black\u0026style=for-the-badge\u0026logo=instagram'\u003e \n  \u003c/a\u003e\n  \n  \u003ca herf='https://twitter.com/SamuelR84144340'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=twitter'\u003e \n  \u003c/a\u003e\n  \n   \u003ca herf='https://www.linkedin.com/in/samuel-ricardo/'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=LinkedIn'\u003e \n  \u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuel-ricardo%2Fcajuzinho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuel-ricardo%2Fcajuzinho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuel-ricardo%2Fcajuzinho/lists"}