/http4k-connect-examples

Complete project examples for using and extending http4k-connect

Primary LanguageKotlinApache License 2.0Apache-2.0

http4k Connect Examples

.github/workflows/build.yaml

These sample projects are designed to demonstrate how easy it is to use the various features of http4k Connect in isolation. They are all entirely self-contained and can be run locally or using the included script to run them in a Docker container.

  • connect-pattern : Code accompanying the post describing the basic Connect pattern and how it is structured. It only relies on http4k as a basic implementation platform.
  • extending-connect-api-clients : Shows how to extend the library API Clients (in this case GitHub) with custom Action classes.
  • using-connect-api-clients : How to use the library API Clients (in this case AWS KMS) and Fake which ship with http4k-connect.
  • custom-api-client-and-fake : Implementing your own custom http4k-connect compliant api-clients and a Fake HTTP system to connect to, along with examples of testing techniques. Also demonstrates the usage of the Kapt compile-time code-generators in a custom api-clients.
  • fakes-in-official-aws-sdk: How to use AWS API Service in-memory fakes with the official V2 AWS SDK in your tests.