Confetti: building a Kotlin Multiplatform conference app in 40min
summary
Live coding produces a working Confetti app end to end: a graphql-kotlin backend serving Kotlinx‑serialized Kotlin models (including a custom LocalDateTime scalar), an Apollo pipeline that generates Kotlin multiplatform models and uses normalized in‑memory and persistent caches, a KMM shared view model exposing StateFlow to Jetpack Compose and SwiftUI via km‑viewmodel/KMP native coroutines, and native Android and iOS apps that mostly run (with one live build hiccup) and are published to the stores.
AI-written summary · about
chapters (28)
- 0:00Introduction
- 1:05Kotlin Multiplatform and GraphQL overview
- 2:51Declarative UI with Jetpack Compose & SwiftUI
- 3:12GraphQL basics and Kotlin integration
- 5:19Conference app architecture plan
- 6:23GraphQL backend setup with Kotlin
- 7:29Spring Boot and Gradle config
- 8:56GraphQL schema and queries
- 10:00Backend server and GraphQL Playground
- 12:10Conference data models with Kotlin serialization
- 13:58GraphQL schema with nested types
- 15:43Custom scalar types for dates
- 17:51Android and iOS clients with shared Kotlin
- 18:12KMM project structure setup
- 18:54Kotlin models from GraphQL queries
- 20:21Shared repository for GraphQL data
- 21:25Shared ViewModel for UI state
- 22:49Android UI with Jetpack Compose
- 24:20Android UI with tabs and sessions
- 26:03iOS UI with SwiftUI
- 27:06Shared Kotlin in iOS apps
- 28:29Query updates and room display
- 29:53Live demo challenges and fixes
- 30:14Community contributions and features
- 31:00Kotlin Multiplatform and GraphQL benefits
- 32:11Open source project and community
- 32:54Future plans for web and WebAssembly
- 33:17Q&A
related talks
39mConfetti: building a Kotlin conference app in 40min 🎊
44mThe Adventures of Kotlin & Compose Through the Multiplatform World
25mKotlin Multiplatform Mobile in production: key takeaways from developing two cross-platform apps
41mKotlin for the JVM and beyond
46mExploring the Kotlin Multiplatform Ecosystem
27mFast Prototypes with Flutter + Kotlin/Native
46mThe Hitchhikers Guide Through Kotlin Multiplatform
23mKotlin Multiplatform Mobile in production: key takeaways from developing two cross-platform apps
