https://kotlinlang.org logo
Title
c

christophsturm

06/21/2021, 9:33 AM
announcing Restaurant, a kotlin web server api with focus on testability and coroutine support: https://github.com/christophsturm/restaurant
❤️ 2
s

Sam

06/21/2021, 10:00 AM
This looks interesting! Possibly a strange question but do you know if this works on Android?
c

christophsturm

06/21/2021, 10:02 AM
currently it only targets server side kotlin on the jvm. its based on undertow so if that works on android it will also work https://undertow.io
s

Sam

06/21/2021, 10:03 AM
I might give it a go, I've been using https://github.com/NanoHttpd/nanohttpd which isn't particularly nice
c

christophsturm

06/21/2021, 10:05 AM
interesting. i could probably add a nanohttp backend if there is enough demand.
s

Sam

06/21/2021, 10:06 AM
I'd be very surprised if there was haha, I don't think there are many people mad enough to run servers on Android devices
c

christophsturm

06/21/2021, 10:08 AM
what do you use it for?
s

Sam

06/21/2021, 10:13 AM
Pulling data from device from a web browser, only a debugging tool, nothing production appropriate
s

spand

06/21/2021, 10:43 AM
Not really sure it can be called REST if there is no HATEOS
c

christophsturm

06/21/2021, 10:50 AM
Not really sure it can be called REST if there is no HATEOS
I’ll definately add that to the quotes section of the readme if I may.