I have same question about full stack web application development using kotlin.
Vue.js/Node.js (Express.js) is current development environment. I hate JavaScript, but GWT and Flex given to apache but lost the charm… Your front end development options are limited to JavaScript frameworks for rich single page application (hate angular 4 & React.js)
If I am not wrong kotlin got no front end UI library, e.g. primeNG for angular 4 & element.io for vue.js.
Right now, you have to use other JavaScript frameworks for front end and kotlin serving at REST API. Please correct me if I am wrong and good front end solution is available.
I am aware of JSF option available with kotlin but primeFace or Vaadin (GWT type) are only options with rich UI components (need good datatable grid & upload file component for my app)
I am not a fan of javascript frameworks & like to use kotlin as single language for full stack development.
There is Yested, which a simple framework which wraps components from other JS libraries (like Bootstrap) plus some of its own (complex grid/table control). The “new Yested” at GitHub - jean79/yested_fw is still based on Kotlin 1.0, however. I ported “old Yested” (at GitHub - jean79/yested: A Kotlin framework for building web applications in Javascript., which has a much simpler “framework” part which doesn’t give you much) to Kotlin 1.1 before I realised there was a new one. Someone could take the same approach and port the new one to 1.1, and it might be me, but not any time soon.
All that said, why not just use one or more existing JS libraries with a thin Kotlin adapter layer on top? It seems like there are several JvM-based Kotlin libraries which take this approach, and it makes sense to me. Why re-invent the whole wheel if most of it is good enough?
you can write your front end app using Kotlin and then compile it to JS to run on brower
at the moment they provide this gradle plugin to compile Kotlin to JS
have a look at my example for a FullStack app written with Kotlin which runs on Node.js
here a link:
One way of writing webcomponent-based webapps is to use pure-JS on client-side, communicating with REST with server-side. However, I also dislike JS so that’s not an option for me. Luckily, there is also another option now.