Tutorials

Welcome to the http4k tutorials! Whether you’re new to the library or an experienced user, our tutorials provide a hands-on approach to mastering http4k. Through guided examples, you will explore how to leverage http4k’s powerful yet lightweight framework to build robust, maintainable web applications. From setting up your first project to advanced topics like serverless deployment, the tutorials are designed to suit all levels of expertise.

These tutorials are crafted to give you practical knowledge, allowing you to see the code in action while understanding the philosophy behind http4k. Follow along, and soon you’ll be creating elegant, testable HTTP services with minimal boilerplate. Dive in and start building your first app today!

Your first http4k app

A step-by-step guide creating your first running http4k app

Serverless http4k with AWS Lambda

A step-by-step guide to deploying an HTTP app to AWS Lambda

Going native with Graal on AWS Lambda

A step-by-step guide to compiling http4k apps with GraalVM for AWS Lambda

TDDing http4k Part 1: Building a walking skeleton

A step-by-step guide to TDDing a simple http4k application

TDDing http4k Part 2: Adding an endpoint

A step-by-step guide to TDDing a simple http4k application

TDDing http4k Part 3: Adding another endpoint

A step-by-step guide to TDDing a simple http4k application

TDDing http4k Part 4: Adding an external dependency

A step-by-step guide to TDDing a simple http4k application

pumb