GraphQL Powered by Kotlin
summary
A Kotlin GraphQL stack that actually runs: a Ktor server wired with Koin and KGraphQL (plus a DB layer) exposes a single endpoint /graphql and serves an introspective schema; example data set shows 80,201 US UFO sightings and queries return only requested fields. An Android client uses Apollo Android (schema JSON + .graphql files) which generates Java models and parsers and integrates with architecture components; a simple app reads and creates sightings so the setup works end to end, though some Kotlin libraries aren’t yet marked production-ready.
AI-written summary · about
chapters (14)
- 0:00Introduction to UFO data
- 1:06What is GraphQL?
- 4:15GraphQL specification
- 5:07Introspection and tooling
- 6:29Comparing GraphQL and REST
- 8:41Server implementation basics
- 10:26Building a Kotlin server
- 13:56Understanding resolvers
- 16:00Server endpoint execution
- 17:15Android client setup
- 19:47Executing client queries
- 20:52GraphQL tips and tricks
- 22:53Rapid fire Q&A
- 24:36Audience questions
related talks
34mGetting a grip on GraphQL
20mKotlin and GraphQL
19mBootiful GraphQL with Kotlin
52mBootiful GraphQL with Kotlin
32mUsing GraphQL in a KMM project with Jetpack Compose and SwiftUI
37mBootiful GraphQL with Kotlin
54mTake Control Of Your APIs With GraphQL
36mImplementing an Android client that brings out GraphQL’s strengths
