funfordima/book-store

## 02/Create login page

Closed this issue · 0 comments

  • user can login with username

Acceptance criteria:

  • If User unauthorized System redirects the user to the Login page
  • User login with username, System return user token (API provide token), redirects User to the Book catalog and store token in LocalStorage and Application State;
  • Validation
    • username: required, minLength: 4, maxLength: 16;
    • errorMessage: 'Username is not valid'