Skip to content

Latest commit

 

History

History

spring-boot-htmx-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Spring Boot Thymeleaf HTMX Tutorial

This project is a simple example of how to use HTMX with Spring Boot.

Spring Boot Thymeleaf HTMX Tutorial

Requirements

  • JDK 17 or higher
  • Docker and Docker Compose
  • To use Spring AI OpenAI support, you need to configure the OPENAI_API_KEY environment variable.

Running the application

  1. Clone the repository
  2. Run Application.java in your IDE
  3. or run the following command in the project root directory:
    ./mvnw spring-boot:run