https://kotlinlang.org logo
#getting-started
Title
# getting-started
i

igor.wojda

02/15/2023, 1:49 PM
Hey My background is Android platform and I wonder about web apps. I am looking for inspiration/advice on the general direction to follow. I am more interested in a mature solution, rather than "cool new stuff" that works in a limited way. Assuming I would like to develop app a Web app using Kotlin. What tech stack is worth considering nowadays? (Ideally use Kotlin to write all of the code) Backend I am guessing that for the backend Spring Boot or Ktor would be a good choice. Are there other libs/frameworks worth considering? What do you think? Frontend Is it worth even using something Kotlin-driven here? What would be a good approach here? Perhaps utilize Kotlin for JavaScript (Kotlin JS target)? Is it worth using Kotlin to somehow generate web UI?
m

Marko Novakovic

02/15/2023, 2:01 PM
for Backend I would consider https://www.http4k.org also
r

Robert Jaros

02/15/2023, 2:04 PM
For the Kotlin backend you can also try Javalin, Jooby, Micronaut and Vert.x.
For the Kotlin based frontend I would recommend KVision (disclaimer: I'm the author) https://kvision.io
👍 1
plus one 1
But there are other options as well: kotlin-react, fritz2, compose web, doodle
s

Stephan Schröder

02/15/2023, 3:53 PM
If you're familiar with Jetpack Compose then Compose for Web should be familiar: https://compose-web.ui.pages.jetbrains.team/ disclaimer: I'm judging from marketing material here: Compose for Web allows you to build reactive user interfaces for the web in Kotlin, using the concepts and APIs of Jetpack Compose to express the state, behavior, and logic of your application. Not sure how mature it is, I only use Kotlin for server-side stuff.
4 Views