Leonid Stashevskii | KotlinConf 2024, May 22–24, Copenhagen
all speakers

Leonid Stashevskii

Leonid Stashevskii

JetBrains. Ktor & Exposed Lead

Kotlin libraries team. Ktor developer.

Hands-On Kotlin Web Development with Ktor

Ktor is a lightweight and flexible toolkit for building HTTP applications. This workshop will use the Kotlin programming language, the Ktor framework, the Exposed database access library, and several other Kotlin and Java libraries to build a feature-complete web application.

We’ll start with the basics by exploring the Ktor framework and learning how to build a simple web application using essential functions. We’ll cover topics like handling HTTP requests, working with WebSockets, database access, authentication, logging, and deployment.

For testing, we will look into the APIs that Ktor provides but also use the Testcontainers library for integration testing. Finally, we will explore the plugin API and write a simple plugin for our web application.

By the end of the workshop, you will know:

  • How to structure your Ktor project
  • How to test Ktor applications
  • How to create and deploy RESTful services using Ktor
  • How to integrate Ktor with external libraries

This will be a fast-paced workshop where attendees will spend most of their time coding. You will walk away armed with a cookbook of various Ktor recipes for building web applications.