/saga-feature-flow

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-feature-flags-in-single-page-apps-using-react-and-redux-saga/

Primary LanguageJavaScriptMIT LicenseMIT

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