Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 1011 Bytes

README.md

File metadata and controls

72 lines (49 loc) · 1011 Bytes

Pix mercado pago with clean architecture

An API to generate pix transactions with qr-code using mercado pago api.

clean-arch

Used Technologies

Dependencies and required versions

  • Java - Version: 17
  • Maven - Version: 3.8.2
  • Quarkus - Version: 3.6.4
  • Docker - Version: 24.0.7

Getting started

  • on Dev mode
./mvnw compile quarkus:dev

or

mvn compile quarkus:dev
  • on Native mode
./mvnw package -Dnative -Dquarkus.native.container-build=true

and then

./target/pix-mercado-pago-api-1.0-SNAPSHOT-runner

How to run tests

./mvnw verify

or

mvn verify

Routes

POST /v1/pix

body:

{
    "description": "test pix",
    "email": "email_user@email.com",
    "amount": 23
}