Overview

HTMX empowers you to build responsive and dynamic applications by creating server-side endpoints that return HTML snippets. Managing multiple endpoints is common, even in basic applications. To simplify this, we introduced Lava Applications, which consist of two key components: the Application and its Endpoints.

Below is a diagram of a very basic Lava Application:

The example showcases an application with five distinct endpoints and a simple configuration setup, including a name, description, and slug. You can customize security and additional settings for your application. The main logic is housed in the endpoints, activated by routes formed from the application and endpoint slugs, for instance, /group-toolbox/my-groups. It's important to note that while several endpoints might use the same route, such as /group-toolbox/member, the uniqueness of a route is also determined by the HTTP method.

Last updated