Concept | Routes | Technologies | Building | Docker | Contributing
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 |
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"
}
This project was developed using the following technologies:
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
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
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.