Skip to content

krakend/examples

Repository files navigation

KrakenD Examples Repository

Welcome to the KrakenD Examples repository. This repository contains various examples demonstrating different features and configurations of the KrakenD API Gateway. Below you will find a list of the examples contained in this repository, along with a brief description and links to each example.

Examples

  • Description: Provides a minimal configuration file and instructions to run KrakenD using Docker.
  • Key Features: Basic configuration, single endpoint setup, Docker commands.
  • Description: A complete demo environment built with Docker Compose, featuring multiple use-cases and integrations.
  • Key Features: Demo setup, monitoring solutions, authentication integration, internal APIs for testing.
  • Description: Demonstrates how to use the KrakenD debug endpoint to get detailed request and response logs.
  • Key Features: Debugging service, parameter forwarding, detailed logs.
  • Description: Example implementation of flexible configuration, including variables, templates, code snippets, and basic logic.
  • Key Features: Docker setup, environment-based settings, immutable Docker artifact.
  • Description: Illustrates how to handle multiple response encodings and consolidate them using KrakenD.
  • Key Features: Aggregating responses, encoding consolidation.
  • Description: Shows how to use KrakenD to aggregate data from multiple sources into a single endpoint.
  • Key Features: Data aggregation, configuration examples.
  • Description: Demonstrates traffic throttling features of KrakenD, including rate limiting and circuit breaker patterns.
  • Key Features: Rate limiting, circuit breakers.
  • Description: Example of connecting KrakenD with backends that require Basic Authentication.
  • Key Features: Basic Authentication, backend configuration.
  • Description: Integration with Moesif for API analytics and monetization.
  • Key Features: API event tracking, subscription management, usage-based billing.
  • Description: Proof of concept for custom rate limits based on user tiers using API keys and Lua scripting.
  • Key Features: Custom rate limits, Lua scripting, API key authentication.
  • Description: Generates API documentation using Redocly and includes configuration examples.
  • Key Features: API documentation generation.
  • Description: Examples demonstrating multiple sequential POST calls in KrakenD.
    • enterprise: Sequential POST calls using KrakenD Enterprise.
    • community: Aggregating POST requests to SOAP backends.
  • Description: Examples demonstrating how to build and inject custom plugins into KrakenD.
    • client: Custom HTTP client plugin.
    • handler: Custom HTTP handler plugin.
    • modifier: Request/Response modifier plugin.
  • Description: Test environment for validating X-KrakenD-Completed headers and return_error_details configuration parameter.
  • Key Features: Error details, incomplete response handling.
  • Description: Example integration of KrakenD with WebSocket protocol for real-time communication.
  • Key Features: WebSocket configuration, real-time bi-directional communication.

Each example is designed to showcase specific features and use cases of KrakenD, providing you with practical implementations and configurations to help you get the most out of your API Gateway setup. For more details, refer to the individual README files linked above.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published