https://github.com/eric-souzams/rabbitmq-spring-services
Communication between different services via messaging, using RabbitMQ.
https://github.com/eric-souzams/rabbitmq-spring-services
lombok mysql rabbitmq spring spring-amqp spring-boot spring-data-jpa
Last synced: 2 months ago
JSON representation
Communication between different services via messaging, using RabbitMQ.
- Host: GitHub
- URL: https://github.com/eric-souzams/rabbitmq-spring-services
- Owner: eric-souzams
- Created: 2022-06-16T18:25:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T19:00:34.000Z (almost 4 years ago)
- Last Synced: 2025-01-31T15:46:58.380Z (over 1 year ago)
- Topics: lombok, mysql, rabbitmq, spring, spring-amqp, spring-boot, spring-data-jpa
- Language: Java
- Homepage:
- Size: 480 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
RabbitMQ - Spring Boot Services
Concept |
Routes |
Technologies |
Building |
Docker |
Contributing
## Concept

## Routes
| Method | URL | Description |
|--------|----------------------------------------------------|-----------------|
| POST | http://localhost:8080/api/v1/users/create | Create User |
| POST | http://localhost:8080/api/v1/checkout | Make Checkout |
| GET | http://localhost:8080/api/v1/users/{userId} | Get User By Id |
| GET | http://localhost:8080/api/v1/users/{userId}/orders | Get User Orders |
### Resources Documentation
Make Checkout
```json
{
"cardNumber": "1234123412341234",
"cardName": "ERIC MAGALHAES",
"cardExpireDate": "01/08/2030",
"cardCvv": "984",
"amount": 987.63,
"cardType": "CREDIT",
"userId": "f1e3973c-9423-4e42-9ca4-00e0f46a5186"
}
```
Create User
```json
{
"firstName": "Éric",
"lastName": "Magalhães",
"email": "test@test.com"
}
```
RabbitMQ Management

## Technologies
This project was developed using the following technologies:
- [Spring Boot](https://spring.io/)
- [Spring Data JPA](https://spring.io/projects/spring-data-jpa)
- [Spring Validation](https://spring.io/projects)
- [MYSQL](https://www.mysql.com/)
- [Spring AMQP](https://spring.io/projects)
- [RabbitMQ]()
- [Model Mapper]()
## Building
You'll need [Java 11+](https://www.oracle.com/br/java/technologies/javase-jdk11-downloads.html) and [Maven](https://maven.apache.org/download.cgi) installed on your computer in order to build this app.
```bash
$ git clone https://github.com/eric-souzams/rabbitmq-spring-services.git
$ cd rabbitmq-spring-services
$ cd {service-name}
$ mvn install
after install all applications
$ cd {service-name}
$ mvn spring-boot:run
```
## Docker
You'll need [Docker](https://www.docker.com/) installed on your computer in order to build this app.
```bash
$ git clone https://github.com/eric-souzams/rabbitmq-spring-services.git
$ cd rabbitmq-spring-services
$ docker-compose up
```
## Contributing
This repository is currently under development. If you want to contribute please fork the repository and get your hands dirty, and make the changes as you'd like and submit the Pull request.