This project uses Quarkus, AWS Lambda, AWS API Gateway and the Serverless framework.
You can create a native image that uses dev profile using:
./gradlew clean build -Dquarkus-profile=dev -Dquarkus.package.type=native -Dquarkus.native.container-build=true
You can create a production ready native image using:
./gradlew clean build -Dquarkus.package.type=native -Dquarkus.native.container-build=true
Install the Serverless Dynamodb offline plugin first:
npm install serverless-dynamodb-local
You can run dynamodb locally using:
sls dynamodb start --migration
Run Dynamodb locally first and then invoke the function:
sls invoke local -f add-task --data '{"action":"CREATE_TASK","taskName":"name"}' --stage dev