FerdyTarawan / saga-login-flow

A login/register flow built with React + Redux Saga

Home Page:https://saga-login-flow.surge.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saga Login Flow

A login/register flow built with React & Redux Saga

Build Status

This application demonstrates what a React-based register/login workflow might look like with Redux Saga.

It's based on Max Stoiber's login-flow, but uses Redux Saga instead of Redux Thunk to handle asynchronous actions.

All the saga stuff is here. The rest is regular React and Redux!

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 © Juan Soto

About

A login/register flow built with React + Redux Saga

https://saga-login-flow.surge.sh/

License:MIT License


Languages

Language:JavaScript 76.1%Language:CSS 23.4%Language:HTML 0.5%