I would like to develop a very simple web-application. Is there something similar to Flask from Python world for Kotlin?
I know there is for instance Kara framework, but it looks abandoned.
Use popular frameworksKtor is a multiplatform toolkit built by JetBrains for creating Web applications in Kotlin. It makes use of coroutines for high scalability and offers an easy-to-use API. Build your next Kotlin microservice application with ease and test it, too.
Both are the best for their roles: Spring has a lot of components and large community. Ktor Client works perfectly with non-blocking approach. If you need small application without any IoC or something, Ktor can solve the most of your tasks.
Kotlin is supported by the official integrated development environment (IDE) for Android development, Android Studio. So programmers can easily use Kotlin's code when working on Android development.
You can use any java micro web-framework for this purpose.
Personally i recommended Spark Java. Also you can use undertow, rapidoid, ratpack, etc.
An other option - Spring Boot, which is lightweight too, see post about memory consumption.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With