{"id":24319477,"url":"https://github.com/cemayan/cqrs-eventsourcing","last_synced_at":"2026-04-12T06:35:45.571Z","repository":{"id":123354196,"uuid":"398100452","full_name":"cemayan/CQRS-eventsourcing","owner":"cemayan","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-12T22:20:36.000Z","size":734,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T20:44:21.221Z","etag":null,"topics":["axon-framework","docker","kubernetes","mongodb","prometheus","reactive-programming","spring","spring-cloud-function","spring-cloud-stream","webflux"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cemayan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-08-19T23:35:15.000Z","updated_at":"2023-09-07T10:50:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"da77e526-c6da-431d-a8c5-367c22d9c506","html_url":"https://github.com/cemayan/CQRS-eventsourcing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cemayan/CQRS-eventsourcing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemayan%2FCQRS-eventsourcing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemayan%2FCQRS-eventsourcing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemayan%2FCQRS-eventsourcing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemayan%2FCQRS-eventsourcing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cemayan","download_url":"https://codeload.github.com/cemayan/CQRS-eventsourcing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemayan%2FCQRS-eventsourcing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27760081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"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":["axon-framework","docker","kubernetes","mongodb","prometheus","reactive-programming","spring","spring-cloud-function","spring-cloud-stream","webflux"],"created_at":"2025-01-17T15:33:33.470Z","updated_at":"2025-12-16T05:57:03.791Z","avatar_url":"https://github.com/cemayan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## CQRS-EventSourcing Demo\n\n![arch.png](arch1.png)\n\nBasic architecture\n\n- Tests will be adding.\n- Docker profile doesn't exist for now it will be adding.\n\n### Introduction\n\n- Spring Cloud Functions\n- Spring Cloud Stream RabbitMQ\n- Axon Framework\n- Spring Security Oauth2\n- Prometheus\n- WebFlux\n\n\n### Local\n\nIn order to run the project, you must pass the Spring profile(\"dev\").\n\nYou must have MySQL, MongoDB, Neo4j and Axon Server on your computer.\n\n### Kubernetes\n\n```\ncd music-service/music-cmd-api\ndocker build -t music-command-api .\n\ncd music-service/music-query-api\ndocker build -t music-query-api .\n\ncd recommendation-service/reco-query-service\ndocker build -t reco-query-api  .\n\ncd user-service/user-cmd-api\ndocker build -t user-command-api .\n\ncd user-service/user-query-api\ndocker build -t user-query-api .\n\ncd user-service/oauth2-server\ndocker build -t oauth2-server .\n\n```\n\n\n- Traefik\n```\nhelm repo add traefik https://helm.traefik.io/traefik\nhelm install traefik traefik/traefik\nkubectl port-forward $(kubectl get pods --selector \"app.kubernetes.io/name=traefik\" --output=name) 9000:9000\n\nkubectl apply -f k8s/ingress/ingress.yaml\n```\n\n- Mongo\n```\nkubectl apply -f k8s/mongo/service.yaml\nkubectl apply -f k8s/mongo/mongodb-statefulset.yaml\n\n#for cluster\nkubectl exec --stdin --tty mongosts-0    -- /bin/sh\nmongo\n\nrs.initiate({ _id: \"rs0\", version: 1,\nmembers: [\n  { _id: 0, host: \"mongosts-0.mongodb-service.default.svc.cluster.local:27017\" },\n  { _id: 1, host: \"mongosts-1.mongodb-service.default.svc.cluster.local:27017\" },\n  { _id: 2, host: \"mongosts-2.mongodb-service.default.svc.cluster.local:27017\" } ]});\n\n```\n\n- Mysql\n```\nkubectl apply -f k8s/mysql/cluster/configmap.yaml\nkubectl apply -f k8s/mysql/cluster/service.yaml\nkubectl apply -f k8s/mysql/cluster/mysql-statefulset.yaml\n```\n\n- Neo4j\n```\nkubectl apply -f k8s/neo4j/values.yaml\nhelm install neo4j-release neo4j/neo4j-standalone -f values.yaml\n```\n\n\n- RabbitMQ\n```\nkubectl krew install rabbitmq\nkubectl rabbitmq create rabbitmq-cluster\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemayan%2Fcqrs-eventsourcing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcemayan%2Fcqrs-eventsourcing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemayan%2Fcqrs-eventsourcing/lists"}