DEV Community

Pavan Chilukuri
Pavan Chilukuri

Posted on

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.

Top comments (0)