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 Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

👋 Kindness is contagious

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

Okay