https://kotlinlang.org logo
#exposed
Title
# exposed
b

Bert Heyman

10/21/2021, 9:40 AM
Hey all! New to this space 🙂 I’m learning Kotlin with a PHP / Laravel background. Covered the basics and these make sense. As a next step, I’m looking into Ktor and Exposed. This tutorial helped me with Ktor: https://ktor.io/docs/creating-http-apis.html Next step would be to include Exposed in there as well, using their getting started: https://github.com/JetBrains/Exposed/wiki/Getting-Started#download Coming from a different background, I feel I miss some background on the installation process and frameworks so feeling a little lost there. It’s hard to assess resources I found, as they refer to different Kotlin/Ktor versions and I’m not so sure what’s still up to date (enough) and what is not. Any tips on what I could read into to get a better grasp? TL;DR: how can I properly install Exposed in Ktor?
t

tapac

10/21/2021, 12:09 PM
You just need to add Exposed libs as a dependencies in your gradle script. You can try to find a complex examples over the internet like https://stefangaller.at/app-development/kotlin/ktor-rest-api-exposed/
b

Bert Heyman

10/21/2021, 12:55 PM
Thank you! Will give it a try
r

Recca Chao

10/24/2021, 5:45 PM
Welcome! Been using Laravel too!
5 Views