Is there an example anywhere of using Ktor Server ...
# ktor
j
Is there an example anywhere of using Ktor Server (EAP) in a Kotlin Multiplatform project that targets K/N (macOS/iOS)? I see that the artifacts for
ktor-server-core
and
ktor-server-cio
exist in maven (e.g. https://maven.pkg.jetbrains.space/public/p/ktor/eap/io/ktor/ktor-server-core-macosarm64/) but I can't seem to figure out how to configure my build.gradle.kts to get the right dependencies (a lot of dependency could not be found errors regardless of which version of the EAP I target).
e
Perhaps this could be of any help https://github.com/ESchouten/KtorNativeServer
💯 1
s
Just curious, what are you folks using for db access in ktor native ? I seems like exposed in not multi platform yet.