Skip to content

Add integration example with Unleash #14

Description

@hirotask

Summary

Add a sample demonstrating how to integrate the flagly with Unleash, the feature management service.

Motivation

Unleash is a widely used feature flag service, and providing an integration example will help users quickly adopt flagly in real-world environments. Without clear guidance, users may struggle to connect flagly with their application logic.

Definition of done

  • A working integration example with Unleash is added in example directory.
  • The example demonstrates how to fetch and evaluate feature flags.
  • Required configuration (e.g., API URL, app name, instance ID) is documented with the code comments.
  • The example is tested and reproducible.

Proposed approach

  1. Add a sample implementation using the Unleash client SDK.
  2. Provide a configuration example (e.g., environment variables or YAML).
  3. Demonstrate basic usage such as:
    • Initializing the Unleash client
    • Fetching feature flags
    • Evaluating a flag
  4. Include a minimal runnable example or snippet.
  5. Ensure compatibility with the existing project structure.

Additional context

N/A

Related issues

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions