Feature Flags demo project.
Flags are managed in Optimizely control dashboard.
- Clone the repository.
- Run
docker compose up
The project contains two feature flags:
- Ads
- Buy Online
The flag defines
- if the user should see Ads block after login;
- what kind of Ads the user should see;
Country | Age | Ads | |
---|---|---|---|
Any | US | <21 | Toys |
Any | US | >=21 | Cars |
Any | Non US | Any | - |
Buy Online feature is available only for 50% of adult US users.