Skip to content

LaunchDarkly example app -- Saga Feature Flow -- A login/register flow built with React & Redux Saga. This application demonstrates what a React-based register/login workflow might look like with LaunchDarkly feature flags. It's based on Juan Soto's saga-login-flow. Read the implementation article: http://blog.launchdarkly.com/implementing-featu…

License

launchdarkly/saga-feature-flow

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Saga Feature Flow

A login/register flow built with React & Redux Saga

This application demonstrates what a React-based register/login workflow might look like with LaunchDarkly feature flags

It's based on Juan Soto's saga-login-flow.

Feature Flags

Feature flags are served using LaunchDarkly. The homepage will display content depending on the value returned by our feature flag. Also, the navbar will change color based on the value of the header-bar-color feature flag.

Authentication

Authentication happens in app/auth/index.js, using fakeRequest.js and fakeServer.js. fakeRequest is a fake XMLHttpRequest wrapper. fakeServer responds to the fake HTTP requests and pretends to be a real server, storing the current users in local storage with the passwords encrypted using bcrypt.

Thanks

License

MIT © LaunchDarkly

About

LaunchDarkly example app -- Saga Feature Flow -- A login/register flow built with React & Redux Saga. This application demonstrates what a React-based register/login workflow might look like with LaunchDarkly feature flags. It's based on Juan Soto's saga-login-flow. Read the implementation article: http://blog.launchdarkly.com/implementing-featu…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published