spring-axon-rabbitmq-web-jpa-starter

spring-axon-rabbitmq-starter xdd

https://github.com/coundia/spring-axon-rabbitmq-web-jpa-starter

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

spring-axon-rabbitmq-starter xdd

Basic Info
  • Host: GitHub
  • Owner: coundia
  • Language: Java
  • Default Branch: main
  • Size: 3.96 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed 11 months ago
Metadata Files
Readme Citation

README.md

spring-axon-rabbitmq-starter

This project is a Spring Boot application using Axon Framework, RabbitMQ, and PostgreSQL, following * DDD* (Domain-Driven Design) and CQRS (Command Query Responsibility Segregation) principles.

📥 Clone the Project

sh git clone https://github.com/coundia/spring-axon-rabbitmq-starter.git cd spring-axon-rabbitmq-starter

📌 Prerequisites

Before running the application, make sure you have installed:

🚀 Installation and Execution

1️⃣ Start PostgreSQL and RabbitMQ

Run the following command to start the Docker containers:

sh docker compose -f docker/main.yml up -d

2️⃣ Run Tests

sh mvn spring-boot:test-run

3️⃣ Start the Spring Boot Application

sh mvn spring-boot:run

📡 API Documentation

Once the application is running, you can access the Swagger UI documentation here:

🔗 http://127.0.0.1:8093/swagger-ui/index.html#/

Déployé here :

https://cloud.megastore.sn/swagger-ui/index.html

USAGE

curl -X 'POST'

'http://127.0.0.1:8095/api/auth/register'

-H 'accept: /'

-H 'Content-Type: application/json'

-d '{

"username": "admin",

"password": "admin"

}'

POST http://127.0.0.1:8095/api/auth/register accept: / Content-Type: application/json

{ "username": "admin", "password": "admin" }

curl -X 'POST'

'http://127.0.0.1:8095/api/auth/login'

-H 'accept: /'

-H 'Content-Type: application/json'

-d '{

"username": "admin",

"password": "admin"

}'

POST http://127.0.0.1:8095/api/auth/login accept: / Content-Type: application/json

{ "username": "admin", "password": "admin" }

POST http://127.0.0.1:8095/api/auth/register accept: / Content-Type: application/json

{ "username": "string", "password": "string" }

POST http://127.0.0.1:8095/api/v1/commands/transaction accept: / Content-Type: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlhdCI6MTc0NTAwMDY5NywiZXhwIjoxNzQ1MDM2Njk3fQ.mIc3-ALDasLCBiFaDx2pKzEWCOWAENSuMnUYgzmK2Y0

{ "reference": "string", "amount": 0 }

Api documentation swagger

api1.png api2.png

RabbitMQ Management

http://localhost:15672/#/queues

rabbitMq.png

Grafana & Prometheus

grafana_dash.png grafana.png

📁 Project Structure

```

  • domain/: logique métier, agrégats, events, value objects
  • application/: services, DTOs, command/query handlers
  • infrastructure/: persistance (JPA), messaging (RabbitMQ)
  • presentation/: API REST (commandes & queries)
  • templates/: fichiers mustache pour la génération de code
  • shared/: utilitaires

Vor tree.md

```

Test

test.passed.png

Projet généré par : https://github.com/coundia/axon-web-cqrs-generator

🔹 Notes

  • The application follows the CQRS pattern, separating command and query models.
  • RabbitMQ is used as a message broker for event-driven communication.
  • PostgreSQL is the primary database.

📜 License

CC-BY-NC-SA-4.0

Owner

  • Name: coundia
  • Login: coundia
  • Kind: user
  • Location: DAKAR
  • Company: Devalto

Full Stack Developer Java/Php/Js #Love Figma

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: software
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Papa
    family-names: Coundia
    name-particle: Papa
    email: papacoundia@gmail.com
license: CC-BY-NC-SA-4.0

GitHub Events

Total
  • Push event: 39
Last Year
  • Push event: 39

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

pom.xml maven
  • com.h2database:h2
  • org.axonframework.extensions.amqp:axon-amqp 4.11.0
  • org.axonframework:axon-messaging 4.11.1
  • org.axonframework:axon-spring-boot-autoconfigure 4.11.1
  • org.axonframework:axon-spring-boot-starter 4.11.1
  • org.postgresql:postgresql
  • org.projectlombok:lombok
  • org.springdoc:springdoc-openapi-starter-webmvc-ui 2.3.0
  • org.springframework.boot:spring-boot-starter-actuator
  • org.springframework.boot:spring-boot-starter-amqp
  • org.springframework.boot:spring-boot-starter-data-jpa
  • org.springframework.boot:spring-boot-starter-web
  • org.springframework.amqp:spring-rabbit-test test
  • org.springframework.boot:spring-boot-starter-test test