Skip to content

Rationale & design

KotlinConf presentations: Server as a Function. In Kotlin. ______

See http4k in action in these example projects and repos:

Each project is tagged with the http4k features it demonstrates:

"Hello World"

CD pipeline

TDD'd example application

Templates Testing JSON / Lenses CD pipeline OpenApi Static resources

Dropbox clone in 70 lines of Kotlin

Templates Testing Http Client Multipart AWS CD pipeline Serverless GraalVM

Simple websocket driven chat-server in 30 lines of Kotlin

Testing Websockets CD Pipeline Static resources

Stage-by-stage example of London-style TDD development process

Testing

Todo backend (standard routing)

Testing JSON / Lenses CD pipeline

Todo backend (contract routing)

Testing JSON / Lenses OpenApi CD pipeline

Real World example (Medium clone)

Testing Contracts