- Maven 3.8.5
- Java 17
mvn clean package shade:shade
in the root folderdocker compose up
also in the root -- the init hooks should take care of creating all the resources- (From a different terminal tab)
curl --location 'http://id12345.execute-api.localhost.localstack.cloud:4566/dev/personApi' \
--header 'Content-Type: application/json' \
--data '{
"id":"123456",
"name":"John Doe",
"birthdate": "1979-10-21"
}'
curl --location 'http://id12345.execute-api.localhost.localstack.cloud:4566/dev/personApi?personId=123456'