Skip to content

Latest commit

 

History

History
91 lines (72 loc) · 2.59 KB

README.md

File metadata and controls

91 lines (72 loc) · 2.59 KB

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.