It’s a great learning exercise. However, if you want to start a proper project using Kotlin full-stack, I would start with an official example provided by Kotlin.
kotlin-fullstack-sample - Kotlin Full-stack Application Examplegithub.com
The benefit of this version over mine being that it shows how to integrate webpack in to your project and then, you can use it with all the bells and whistles that front-end development has these days. Not to forget that you can run the server side code through IntelliJ and the client side code through webpack and this really makes your life a lot and gives you a better idea of what the final production environment may look like.