DEV Community

Pavan C
Pavan C

Posted on

3 4 3 3 4

Feature flag experiment using DevCycle SDK

This is a submission for the DevCycle Feature Flag Challenge: Feature Flag Funhouse

What I Built

Leveraged release feature type from DevCycle SDK. I built a web app using React which lists all the products for sale, giving additional percentage off on each product for a limited period that runs behind a feature flag.
DevCycle
devcycle
App
If I set the value for variation on true, we would be able to see the 10% off coupon text with the checkbox. On the other hand, if I make it false, the UI makes a live call automatically to DevCycle SDK and do a real time update hiding the coupon feature on the UI without having to refresh my page.
cartmate

Demo

Deployed the application with the help of AWS Amplify. You can explore the live feature of the app [here].
🚀 App: https://master.dp8273qwzs6pw.amplifyapp.com/products

My Code

💻 Source code: https://github.com/chilupa/cartmate

My DevCycle Experience

It was great exploring the release feature on DevCycle. Documentation was seamless, helped me in finding the right tool for my use case. I have worked with other tools like LaunchDarkly, Optimizely but this tool is different and unique in its own way. I would highly recommend it.

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay