Creating a JPA style CrudRepository using Microstream

MicroStream is a Java native persistence layer that gives you blazingly fast access times. When migrating from JPA we want to have the ability to implment CrudRepository style
Read more →

How to publish a Kotlin/Java Spring Boot library with Gradle to Maven Central - Complete Guide

This is an opinionated step-by-step guide on how to publish a Kotlin/Java library with Gradle to Maven Central repository. It assumes that: the project is built with Gradle (look at Maciej Guide if you want to do it with Maven) the project code is hosted on GitHub and GitHub Actions are used to trigger the release It uses JReleaser - I believe this is the simplest and the most straightforward way of signing and uploading artifacts.
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 →

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 →

JWT authentication for Spring Boot simplified using GoTrue and Supabase

In a quest to have a simpler JWT Authentication flow and not have to deal with security related userdata in my backend, I discovered Supabase Auth which is an implementation of Netlify GoTrue.
Read more →