Skip to content

rogervinas/top-5-server-side-kotlin-frameworks-2022

Repository files navigation

SpringBoot Java Kotlin SpringBoot

Quarkus Java Kotlin Quarkus

Micronaut Java Kotlin Micronaut

Ktor Java Kotlin Ktor

Http4k Java Kotlin Http4k

Top 5 Server-Side Frameworks for Kotlin in 2022

This is a demo inspired by Anton Arhipov's Top 5 Server-Side Frameworks for Kotlin in 2022 @ Kotlin by JetBrains where, spoiler alert, the author shares this top 5 list:

I have a lot of experience in Spring Boot, so I wanted to take a look at the other ones 😜

To do so we will create a simple application with each one of these frameworks, implementing the following scenario:

We will use this docker-compose.yaml to start locally Vault and Postgresql, as well as the application containers.

In order to put a greeting.secret in vault we will start another Vault container overriding its entrypoint to just put the secret using vault kv put and die afterwards (maybe there is another more elegant way to do it but this one works).

Please find below a step-by-step guide for each one of the top 5 frameworks. Here we go!

Happy coding! 💙