Example implementation of log in functionality using:
It's based on create-react-app
.
Project aims to bring more or less real world
experience of working with react
and redux
. To do so it incorporates considered directory structure and file naming.
npm install
oryarn
npm start
oryarn start
npm run jest
oryarn run jest
Authentication is faked. Hardcoded valid credentials are:
test@test.pl
Password1
Project is still open for improvements. Here are some ideas:
- Cleanup dependencies inherited from
create-react-app
boilerplate. - Introduce better approach for base styles using
styled-components
.- Use a theme.
- Use component props.
- Store user data in
localStorage
to persistisAuthenticated
. - Come up with a strategy for component testing as currently it's problematic due to
redux
andredux-form
. - Replace
redux-thunk
withredux-saga
.