Skip to content

Commit

Permalink
docs: update README with prerequisites and webhook forwarding instruc…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
italopessoa committed Nov 25, 2024
1 parent 4ca2eb8 commit e4bfff0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,21 @@ To run the application in a Docker container:

### Example Request

### Prerequisites
- Docker with Minikube configured
- [webhook.site](https://webhook.site) token

#### To forward mercado pago webhook notifications to host
```bash
whcli forward --token=f513d4a6-4dbd-4e32-93f5-b35376f33c89 --target=http://localhost/api/notifications/mercadopago
```

```sh
curl -X POST "https://yourapiurl/api/payments" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"amount\": 100.0, \"currency\": \"USD\", \"paymentMethod\": \"CreditCard\" }"
```
## This repo on the infrastructure

![Architecture Diagram](aws-infra-phase-4.png)
![Architecture Diagram](doc/aws-infra-phase-4.png)

### K8S
![Architecture Diagram](doc/k8s.png)
File renamed without changes
Binary file added doc/k8s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e4bfff0

Please sign in to comment.