/feature-flag-demo

An app to demonstrate feature flag management in ConfigCat. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.

Primary LanguageTypeScript

ConfigCat feature management demo app

The purpose of this app is to demonstrate ConfigCat feature management by simulating a number of clients or SDKs connected to the ConfigCat CDN.

If you connect this app to one of your feature flags and play around with percentage and targeting rules.

Usage

  1. Run locally or open https://playground.configcat.com/
  2. Enter your SDK Key (API Key), get it from https://app.configcat.com/sdkkey
  3. Select a flag you'd like to use, it must be of a bool type (on/off).
  4. Flip the flag and see how the client change color.
  5. Add email or percentage based targeting rules and see what happens.

Set a base URL

Example: https://playground.configcat.com/?baseUrl=https:%2F%2Ftest-cdn-eu.configcat.com%2F

To run locally

Open terminal and run:

npm i && npm start