Spring WebFlux Kotlin fullstack example with Kotlin/JS for frontend instead of JavaScript or TypeScript.
- Kotlin/JS for frontend instead of JavaScript or TypeScript
- Spring WebFlux
- Shared objects
- Native Debug for IntelliJ: https://plugins.jetbrains.com/plugin/12775-native-debug-for-intellij
Please include following in your build.gradle.kts. JUnit 5 not support yet.
sourceSets {
getByName("jvmTest").apply {
dependencies {
implementation(kotlin("test"))
implementation(kotlin("test-junit"))
implementation("junit:junit:4.12")
}
}
}
- Change run & build to Gradle
- Kotlin multiplatform support http://kotlinlang.org/docs/reference/multiplatform.html
- Project Source: https://github.com/sdeleuze/spring-kotlin-fullstack