Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 461 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 461 Bytes

aws-htmx-java-examples

Contact Form Example

Requires

maven cdk

Setup

Build the Lambda function

cd contact-form/software
mvn clean package

Deploy the API Gateway and Lambda function

cd ../infrastructure
cdk deploy

Edit the HTML of www/index.html to include your API Gateway URL

Test

Load the HTML page from www and click submit, you should see the contents of the form delivered to your Lambda function.