All Projects → http4k → examples

http4k / examples

Licence: Apache-2.0 license
Fully self-contained examples of using the various http4k features

Programming Languages

kotlin
9241 projects
HTML
75241 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to examples

Http4k
The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
Stars: ✭ 1,883 (+3146.55%)
Mutual labels:  http4k
kotlin-oauth2-server
Flexible OAuth2 server library. Support for multiple frameworks
Stars: ✭ 123 (+112.07%)
Mutual labels:  http4k

http4k Examples

.github/workflows/build.yaml

These sample projects are designed to demonstrate how easy it is to use the various features of http4k 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.

  • hello-world : "Hello world" application with a single endpoint.

  • aws-lambda-http: Building and deploying HttpHandler as a Serverless function.

  • aws-lambda-events: Building and deploying an event-based FnHandler as a Serverless function.

  • graalvm : "Hello world" application with a single endpoint, compiled to a native binary using GraalVM.

  • graphql : Using the http4k graphql routing module to build an API which exposes a data graph backed by the GraphQL-Java library.

  • hexagonal: Writing Hexagonal http4k applications with DomainDrivenTests.

  • hotwire : Serve a Hotwire application via http4k (with Websocket support)!

  • http4k-connect : A app which utilises the http4k-connect libraries, which provide both a framework for http4k client connectors to external systems and Fake versions of those systems.

  • json-api : A app which uses Jackson to automatically marshall Kotlin data classes into JSON objects.

  • oauth : Using the http4k OAuth support, shows how to protect resources for use with an external auth provider such as Google or Auth0.

  • openapi : Using the http4k contract routing module to build an API which is auto-documented in a generated OpenAPI3 specification.

  • quarkus : "Hello world" application with a single endpoint, compiled to a native binary using Quarkus.

  • react-app : Combines a React front end with an http4k backend.

  • typesafe-configuration : Application configured using the typesafe configuration facility in the http4k-cloudnative module..

  • web-content : Using the http4k templating system and serving static content.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].