~/talk

Building asynchronous API with Ktor & Kotlin

Talkat Android Worldwide October 2022 · on Tuesday, 2022-10-25· [kotlin, serverless]
links:none on file
slides:none on file

Shows a small Ktor project scaffolded for Kotlin using Ktor + coroutines and JSON serialization, with Application.kt, routing extensions, a fake Map repository and a service layer. Implements full CRUD: GET returns list, POST receives JSON and returns HTTP 201, GET by id validates params and returns 400/404, PUT updates, DELETE returns 204 when removed. Uses suspend handlers so threads stay nonblocking, recommends Exposed ORM for real DBs, and the demo runs with expected HTTP status codes.

AI-written summary · about

  1. 0:00Ktor and async APIs
  2. 2:13Ktor project setup
  3. 7:11Simple API with Ktor
  4. 10:27GET requests & database
  5. 13:01Parameters & error handling
  6. 15:37PUT/DELETE with coroutines
  7. 18:59Summary & resources
~/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.