Secure your Spring Boot Acturator Endpoints and configure Prometheus with Basic Authentication

After setting up your Prometheus it might not work, if you enable debug logs you see that prometheus cannot scrape the actuator logs. To fix this we need to configure your Spring App and Prometheus with Basic Authentication
Read more →

Toasts with Thymeleaf, HTMX and Spring Boot

In this example I will show you how to create toasts that you can define on your server and return as HTMX Response
Read more →

Local development with Testcontainers, Kotlin and Spring Boot

It is always the best to keep your development environment as close as you can to your production environment. Don’t use a h2 database as it can behave differently to a production database.
Read more →

Fixing the Spring Boot LiveReload Server with Gradle for Thymeleaf and TailwindCSS

I couldn’t get Live Reload with Spring Boot and Thymeleaf to work. But I didn’t want to use bulky node scripts. So I thought we can use Gradle
Read more →

Implementing Worker Pools in Kotlin to upload Images over WebDav to a Hetzner StorageBox

Recently while doing a project with Go I came across Worker Pools on GoByExample to do parallel processing. I didn’t find many resources for implementing Worker Pools in Kotlin, but it seemed a good idea for my current Spring Boot + Kotlin webapp.
Read more →