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 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 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
.
- Juan Soto for Saga Login flow
- Max Stoiber for the Login Flow idea.
- Yassine Elouafi for Redux Saga. Awesome!
MIT © LaunchDarkly