Skip to content

nguyenkhoi2806/Daoukinwoom_Assignment

Repository files navigation

Boilerplate react application

This boilerplate react application was created using create-react-app and configured with the options as described in the original README.md file

Setup

To setup the project, check it out and init the dependencies using yarn install.

Commands

Start the development server using

yarn start

Start the test runner

yarn test

Enabled features

  • Linting output in the editor .eslintrc
  • Automatic code formatting using prettier
  • SASS stylesheets
  • Testing with Jest and Enzyme

Note

If you inspect browser to detect on mobile please press F5 to make sure render on mobile run properly

Work flow render login

@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

Work flow login authenticate for user

@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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published