Slide 1

Slide 1 text

Building Asynchronous API with Ktor & Kotlin Manuel Ernesto @manuelernest0

Slide 2

Slide 2 text

What is Ktor 🤔

Slide 3

Slide 3 text

Lightweight and flexible framework built from scratch using Kotlin and Coroutine, which allows us to easily build asynchronous client and server applications. Ktor

Slide 4

Slide 4 text

Lightweight and flexible framework built from scratch using Kotlin and Coroutine, which allows us to easily build asynchronous client and server applications. Ktor

Slide 5

Slide 5 text

Lightweight and flexible framework built from scratch using Kotlin and Coroutine, which allows us to easily build asynchronous client and server applications. Ktor

Slide 6

Slide 6 text

Lightweight and flexible framework built from scratch using Kotlin and Coroutine, which allows us to easily build asynchronous client and server applications. Ktor

Slide 7

Slide 7 text

Lightweight and flexible framework built from scratch using Kotlin and Coroutine, which allows us to easily build asynchronous client and server applications. Ktor

Slide 8

Slide 8 text

Ktor Application

Slide 9

Slide 9 text

Ktor Application Tomcat

Slide 10

Slide 10 text

Ktor Application Tomcat Jetty

Slide 11

Slide 11 text

Ktor Application Tomcat Jetty Netty(default)

Slide 12

Slide 12 text

Ktor Application Tomcat Jetty Netty(default) Routing

Slide 13

Slide 13 text

Ktor Application Tomcat Jetty Netty(default) Routing Authentication

Slide 14

Slide 14 text

Ktor Application Tomcat Jetty Netty(default) Routing Authentication ContentNegotiation

Slide 15

Slide 15 text

Ktor Application Tomcat Jetty Netty(default) Routing Authentication Exposed ContentNegotiation

Slide 16

Slide 16 text

Setup 🛠

Slide 17

Slide 17 text

intellij idea https://start.ktor.io

Slide 18

Slide 18 text

intellij idea https://start.ktor.io

Slide 19

Slide 19 text

Code 󰝺

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Repository

Slide 27

Slide 27 text

Service

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

Useful Frameworks/Lib 󰝺 Database: https://github.com/JetBrains/Exposed DI: https://insert-koin.io/ https://kosi-libs.org/kodein-di/7.12.0/index.html

Slide 43

Slide 43 text

Resources 󰝺 Code: https://github.com/manuelernesto/ktor-android-worldwide-demo Ktor: https://ktor.io/ Kotlin: https://kotlinlang.org/ IntelliJ IDEA: https://www.jetbrains.com/idea/ Ktor start: https://start.ktor.io/#/settings

Slide 44

Slide 44 text

Q&A 󰚏

Slide 45

Slide 45 text

Thanks 󰚢 Manuel Ernesto @manuelernest0