I want to create an app exposing a web server with a REST API in Kotlin Native, but I can't find any recent project or lib. There's kwang but it doesn't seems to be maintained anymore and it depends on another C library.
Asked
Active
Viewed 2,181 times
2 Answers
5
Ktor 1.4 (WIP) will support Kotlin/Native as a Server .
https://github.com/ktorio/ktor/issues/571#issuecomment-562118651
Kotlin/Native is Beta for now , so There is a long way to go

Mahdi Safarmohammadloo
- 508
- 6
- 20
-
as of ktor:1.5.3 native is only supported for ktor-client – garkin Apr 18 '21 at 16:05
-2
Yes! Alpas - it's a newer framework and is inspired by the Laravel framework for PHP. Out-of-the-box, it will get your rolling with databases and authentication.

Adam Miedema
- 5
- 2
-
2Well, it's not kotlin native compatible, it still requires Java to run. – ThoSil Mar 22 '20 at 08:33
-
Yes. Run's as a fat jar and requires JVM/JRE... Would love to have a real native solution. – Ove Stoerholt Jun 18 '20 at 07:24