~/talk

Ktor to your heart’s content: easy mobile backends in Kotlin

Talkat droidcon EMEA 2020 · 2020-10-08..10-09· [kotlin, microservices]
slides:none on file

Shows how to build a real REST JSON backend for a fictional PushBeat IoT app using Ktor + coroutines, Kotlinx.serialization, Logback and a war-based Gradle setup, then run locally and App Engine deploy to Google Cloud. Demonstrates routing, HTML via kotlinx.html, basic HTTP auth, locations for type-safe paths, compression, status pages and content negotiation. Code targets Kotlin 1.3 (update to 1.4 pending) and the example compiles and deploys to App Engine as shown. Modular Ktor features are used end-to-end.

AI-written summary · about

  1. 0:00Introduction to backend development
  2. 6:00Choosing REST, GraphQL, or RPC
  3. 7:06Introducing Ktor framework
  4. 10:19PushBit IoT backend scenario
  5. 11:49Setting up Google Cloud SDK
  6. 14:13Configuring Ktor with App Engine
  7. 18:27Project structure and dependencies
  8. 20:38Ktor configuration and features
  9. 26:17Routing and request handling
  10. 30:32Rendering HTML with KotlinX
  11. 32:15Using locations for type-safe routing
  12. 33:41Implementing authentication
  13. 34:23Deploying to App Engine
  14. 34:46Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.