GitHub - msailes/aws-htmx-java-examples

Skip to content

Navigation Menu

Sign in

Appearance settings

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.