diff --git a/README.md b/README.md index de74d8f..8c9f76e 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file + ![Architecture Diagram](doc/aws-infra-phase-4.png) + + ### K8S + ![Architecture Diagram](doc/k8s.png) \ No newline at end of file diff --git a/aws-infra-phase-4.png b/doc/aws-infra-phase-4.png similarity index 100% rename from aws-infra-phase-4.png rename to doc/aws-infra-phase-4.png diff --git a/doc/k8s.png b/doc/k8s.png new file mode 100644 index 0000000..d9ef8ed Binary files /dev/null and b/doc/k8s.png differ