Using Hotwire in a Quarkus Application deployed to Lambda

Posted by Aaron Walker on February 15, 2021 · 1 min read

Using Hotwire in a Quarkus Application deployed to Lambda

In a previous post I showed How to Deploy a Quarkus Lambda Application using Lambda Containers

In this post I’m going to build on that example and show how you can use Hotwire in Quarkus.

What is Hotwire

Hotwire is a different approach to building webapps without stabbing your eye out with a lot of JavaScript. It sends HTML over the wire instead of JSON. This tends to make for faster first-load pages. Server side rendering is seeing a bit of a renascence

TL;DR

The code for this demo is available on GitHub https://github.com/base2Services/quarkus-lambda-container-demo/tree/hotwire on the hotwire branch

Prerequisites

To complete this guide, you need:

So time to Hotwire lambda!!!!!

Create a root resource to serve the initial page