These are the components involved when creating new Orders

These are the components involved when getting created Orders

Before running the applications, it is important to have an image of SpringBoot app built
cd bff-orders-api
chmod +x ./gradlew
./gradlew clean build test
docker build -t XPTO/bff-orders-api:1234 .
cd ..
same for BFB app
docker build -t XPTO/bfb-distribution-center-svc:1234 ./bfb-distribution-center-svc
It is recommended to have Docker Desktop or Rancher Desktop when a single node K8S cluster or a docker environment available to run the application
In order to have the application running in a K8S cluster make sure you have Helm installed
Installing Helm distribution:
helm install desafio-mercadolivre k8s-distribution
Then check if all objects are available
kubectl get all --namespace teste-pratico-mercadolivre
After setup, access the database from Azure Data Studio, and execute the sql file available here
And use this Postman collection to execute the APIs' endpoints
Just run docker-compose
docker-compose up -d
If you have permission issues with volume folder, give docker permission
sudo chown -R 10001:10001 ./mssql-server/volume
sudo chmod -R 775 ./mssql-server/volume
