pt-BR
Eu agradeço por todo o aprendizado/atenção que recebi pela Pagar.me, porém o "timing" não estava sincronizados para ambos os lados. Obrigado novamente!
en
I'm thankful for all the knowledge/attention that I received from Pagar.me but the "timing" was not synced for both sides. Thank you again!
Just follow the steps but if found a 🪲 drop your comments on Issues section.
- Clone the repository
$ git clone git@github.com:wesleyhf/pagarme-software-engineer-backend.git
- Setup .env file
$ cp .env.example .env
- Build Docker Images
Check if your ./docker
file has permission to execute, if not run: chmox +x ./docker
$ ./docker build
- Run migrations/seeders
$ ./docker migrate
$ ./docker seed
- Start the containers
$ ./docker dev
# use ./docker down to stop all the containers
- Important ❗
Now your environment is ready to develpoment!
Things you need to know:
Endpoint: http://pagarme.localhost/
- All endpoints needs an authentication, check below:
To set an authentication you need the clientId
key on Request Header, e.g:
clientId:CLIENT_ID
To help you on this journey:
-
Check out our API Documentation
-
You can use our Postman Collection, check the
postman.json
Check if you ran the migration command ./docker migrate
$ ./docker test