Skip to content

marcinczeczko/quarkus-lambda-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quarkus Lambda native talking to DynamodDB

Simple TODO application written in Quarkus:

  • API endpoints driven by AWS Lambdas
  • TODO items storage - AWS DynamoDB

Enjoy !

Prerequisites

Build Jvm & Native

mvn clean package & mvn package -Dnative-lambda=true

It will take some time....

Run it

  1. Deploy to AWS sls deploy -v

  2. Find out your API endoints sls info

  3. Add Todo item

  • Using Native lambda curl -XPOST -H 'Content-Type: application/json' -d '' https://<apiid>.execute-api.<region>.amazonaws.com/dev/addNative

  • Using JVM lambda curl -XPOST -H 'Content-Type: application/json' -d '' https://<apiid>.execute-api.<region>.amazonaws.com/dev/addjvm

  1. Get all TODOs
  • Using native lambda curl https://<apiid>.execute-api.<region>.amazonaws.com/dev/fetchNative

  • Using JVM lambda curl https://<apiid>.execute-api.<region>.amazonaws.com/dev/fetchJvm

  1. Don't forget to cleanup your AWS account if not using sls remove

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages