Skip to content

Communication between different services via messaging, using RabbitMQ.

Notifications You must be signed in to change notification settings

eric-souzams/rabbitmq-spring-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

{
    "cardNumber": "1234123412341234",
    "cardName": "ERIC MAGALHAES",
    "cardExpireDate": "01/08/2030",
    "cardCvv": "984",
    "amount": 987.63,
    "cardType": "CREDIT",
    "userId": "f1e3973c-9423-4e42-9ca4-00e0f46a5186"
}

Create User

{
  "firstName": "Éric",
  "lastName": "Magalhães",
  "email": "test@test.com"
}

RabbitMQ Management

Technologies

This project was developed using the following technologies:

Building

You'll need Java 11+ and Maven installed on your computer in order to build this app.

$ 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 installed on your computer in order to build this app.

$ 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.

About

Communication between different services via messaging, using RabbitMQ.

Topics

Resources

Stars

Watchers

Forks

Languages