How can I best connect ktor to the postgresql data...
# announcements
k
How can I best connect ktor to the postgresql database and then my Android project
h
Implement the rest interface in ktor, use it in your Android app. Ktor hasn't any persistence built in on purpose. But it's easy to add the code to persist. Either use jdbc directly or use a orm like Hibernate
k
Which database is recommended to be used well with ktor
h
Wrong question ;) Whichever database you need. It's up to you to do the analysis and then pick the right database ;)
k
Good then. Thank you friend
h
No problem. Good luck 🤞
j
Might want to checkout https://github.com/JetBrains/Exposed also
k
This is nice I have got now how I can do it. Thanks aloy
A lot