https://kotlinlang.org logo
#ktor
Title
# ktor
z

Zea

12/22/2022, 2:29 AM
Hi guys, I was wondering whether it is possible to create a full yet simple website (Such as Blog or Portfolio) using Ktor? I mean, most of tutorial out there only highlight REST API and such... Can I use something like ORM or Templating Engine? Thanks!
a

Andromadus Naruto

12/22/2022, 3:48 AM
Yes, you can use Ktor to build full-stack web applications. If you check the docs, you'll find examples of using templating engines like FreeMarker, Thymeleaf, etc as well as using an ORM like Exposed.
z

Zea

12/22/2022, 6:01 AM
Thank you! @Andromadus Naruto ❤️
👍🏾 1
s

Sergey Aldoukhov

12/22/2022, 6:38 AM
I’d use a single page app for this… Create a React/Angular/Vue app, build, drop into resources, expose as static, deploy along with the API. Reliable and much better for UI development than templates.
1
👍🏾 1
3 Views