This boilerplate react application was created using create-react-app
and configured with the options as described in the original README.md
file
To setup the project, check it out and init the dependencies using yarn install
.
yarn start
yarn test
- Linting output in the editor
.eslintrc
- Automatic code formatting using prettier
- SASS stylesheets
- Testing with Jest and Enzyme
If you inspect browser to detect on mobile please press F5 to make sure render on mobile run properly
@startuml
start
:initialize authenticate user;
if(user is exist from localStorage) then (yes)
:render authenticate user menu;
else (no)
:render login link;
endif;
end
@enduml
@startuml
start
:user click login;
:open modal login;
if(user enter user name and password) then(yes)
:click button sign in
if(status is success) then (yes)
:close modal login;
:save user to storage;
:render authenticate user menu;
else (no)
:throw error;
endif;
endif;
end
@enduml