Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up. This repo aims to be a curated list of awesome books, tutorials, courses, and resources for the Ktor framework ecosystem.
- Books
- Courses
- Articles
- Podcasts/Episodes
- Educational Projects
- Ktor Projects
- Other Resources
- Contributing
- Marcin Moskała - Kotlin coroutines deep dive Very useful book to understand coroutines and on deeper level. Note: The book is not talking directly about Ktor, however it's talking about server side Kotlin in general.
- Kotlin with Ktor Explores how to create a standalone server application using Ktor.
- Ktor: REST API for Mobile Using Ktor to create REST APIs for mobile. You’ll create a Ktor REST API server named TodoServer. This server will authenticate users and provide an API for users and TODOs.
- KtorEasy Medium articles: Medium's article list explaining KtorEasy repository. Including explanation about its architecture, testing, deployment and backend monitoring with Grafana.
- An opinionated Kotlin backend service Article list explains the scaffolding for Kotlin / Ktor based backend services
- How to Integrate Firebase Authentication with the Ktor Auth Feature
- Ktor with Ryan Harter Talks about how Ktor can be used for developing server side applications and its differences with some other existing ones.
- Samples for Ktor A collection of ready-to-use samples for Ktor.
- KtorEasy Demonstrates a suggested Ktor architecture. It includes Backend implementation with Ktor, MariaDB database connection with Hikari, Docker command to build Backend container and Docker compose to run both database and backend instance.
- Ktor Arrow Real World Example Real World implementation - "The mother of all demo apps". Written in Kotlin, with Ktor, Arrow, SqlDelight, KotlinX Serialization, etc.
- Starter project to create a simple RESTful web service in Kotlin Starter RESTful service with websocket notifications using Kotlin, Ktor and Exposed with H2, HikariCP and FlyWay.
- RealWorld Kotlin Ktor Backend Kotlin-Ktor codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
- github-alerts-kotlin Example implementation of the subscription microservice (Ktor flavour).
- Kotlin Native Server Kotlin Native Ktor server with K8s zero-downtime demo.
- Tenistas REST Ktor (Spanish) Api REST de Tenistas con Ktor para Programación de Servicios y Procesos de 2º de DAM. Curso 2022/2023.
- NotyKT NotyKT is the complete Kotlin-stack note taking application built to demonstrate a use of Kotlin programming language in server-side and Modern Android development tools. REST API built using Ktor.
- Ktor + Koin + MongoDB template An example project how to run Ktor + Koin + MongoDB. Save your
data
classes with ease and without blocking! - kotlin-backend-ktor A demonstration of how we can use Kotlin as Backed with Ktor.
- HTMX Sample app Ktor + PostgreSQL + HTMX + kotlin.html. All CRUD methods are implemented.
- Kotlin by JetBrains the official YouTube channel of the Kotlin programming language. Kotlin Tutorials, Kotlin Multiplatform, Kotlin Coroutines, Kotlin Tips, Talking Kotlin Podcast, ATOM Podcast.
- Ktor - REST API Tutorials
- Ktor tutorial with Project (A Note App) Create CRUD operations for Notes with Ktor and make an Android app and use the API.
- Make a Chat App With Ktor Create a real time chat app in Android(adhering to the Clean Architecture guidelines) using Ktor, MongoDB and Jetpack Compose.
- Building applications with Kotlin and Arrow.kt in style
- Graceful Resource Handling Using Structured Concurrency in Kotlin
- Ktor From the Ground Up Creating a robust asynchronous server-side applications with Ktor as well as looking at deployment models, the features it provides out of the box, and its extensibility model.
- Building web applications with Ktor and Exposed Learn how to bootstrap a project with Ktor, build interaction between server and client via WebSockets and add database support with the Exposed library.
- Codersee Codersee is a place, where you can learn programming- especially Kotlin and backend topics- through practical tutorials.
- Twitter: @JetBrainsKtor
- Reddit: /r/ktor
- X Unofficial Ktor community on X.
- Kryptokrona API For caching and processing data from the blockchain to provide faster access for services.
- Kodein Kodein is a very simple and yet very useful dependency retrieval container. it is very easy to use and configure.
- Ktor OpenAPI Generator Ktor OpenAPI/Swagger 3 Generator.
- Kompendium Intended to be a non-invasive OpenAPI spec generator for Ktor APIs. By operating entirely through Ktor's plugin architecture, it allows you to incrementally document your API without requiring you to rip out and replace the amazing code you have already written.
- ktor-health-check Simple, opinionated ktor health and readiness checks made for Kubernetes.
- Cohort Spring Actuator style replacement for Ktor. Provides health checks for orchestrators like Kubernetes and management of logging, databases, JVM settings, memory and threads in production.
- SuspendApp with Ktor The module suspendapp-ktor provides a server constructor that lifts the Ktor ApplicationEngine in to a Resource, representing the Engine running an Application(i.e Netty) while supporting auto-reload.
- kotlin-kafka Kafka bindings for Kotlin
suspend
, and Kafka streaming operators for KotlinX Flow. Designed for usage in Ktor. - Hoplite Kotlin library for loading configuration files into typesafe classes in a boilerplate-free way. Define your config using Kotlin data classes, and at startup Hoplite will read from one or more config files, mapping the values in those files into your config classes. Designed for usage in Ktor.
- Tribune Multiplatform Kotlin library that builds on Arrow to provide a toolset for creating simple parsers from raw input types, to properly validated parsed types. Designed for usage in Ktor.
- Kweb A streamlined Kotlin web framework built on Ktor that makes it easy to create sophisticated interactive websites.
- Ktor OpenAPI Spec Generator
- Tegral OpenAPI
- Kryptokrona Kotlin SDK Kryptokrona SDK in Kotlin for building decentralized private communication and payment systems. Uses Ktor client library to fetch data from RPC.
- Extra Ktor Plugins A library of extra plugins for multiplatform ktor server / client, including a plugin for Kafka, a flexible rate limiter plugin and a circuit breaker for ktor clients
- Kotlin GCP Pubsub A Ktor Plugin for convenient, and easy integrating with to Google Cloud Platform PubSub, includes testing support and integration with KotlinX Serialization.
- Starter Project ktor This is a starter project for building server-side applications using Ktor, a framework for building asynchronous servers and clients in connected systems. This template integrates MongoDB for database operations, Koin for dependency injection, and Swagger for API documentation.
Contributions are very welcome!
Feel free to open an issue or create a pull request with your additions.
Thank you!