kotlin-fullstack-sample
kotlin-fullstack-sample copied to clipboard
Kotlin Full-stack Application Example
It is very frustrating to get started with Kotlin MPP because there are many out of date samples that just do not work at all.
Updated to Kotlin 1.3.50 Updated to Ktor 1.2.5
I cloned the repo and ran both services (`./gradlew backend:run` and `./gradlew frontend:run`) Both servers start successfully but it seems the backend is unable to load the resource : `/frontend/frontend.bundle.js`...
``` $ ./gradlew build Starting a Gradle Daemon (subsequent builds will be faster) 78% EXECUTING [94h 23m 48s] > :frontend:webpack-bundle ``` Should I wait a little bit more? =)
[email protected] requires @babel/core@^7.0.0 which was renamed to @babel/core from babel-core
Hi, seems your project lacks good test coverage. And that's perfect match for my needs. I want to test-drive my new mocking library [MockK](/oleksiyp/mockk) and by the way I can...
solves `Error: Cannot find module '@babel/core'` https://stackoverflow.com/a/52067984
The classes in the multi-platform package `org.jetbrains.demo.thinkter.model` are duplicated between `backend` and `frontend` (except `PollResponse` which is missing from `frontend`). I suspect a full solution for this requires https://youtrack.jetbrains.com/issue/KT-6359 but...
This is good and very useful example, may be update it to ktor 0.9.0?
This upgrade also includes the upgrade of kotlin to 1.2.x. This also make the PR #29 obsolete and also resolves Issue #27