AlekseyDevksh / ReactRedux-task1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Task 1

Implement an application that can display the following pages:

  • / - home
  • /login - login and password page
  • /profile - dashboard

If the user clicks on the Profile page and he is not “authorized” - transfer to the /login page.

The login form (/login) accepts mock data:

username: Admin
password: Admin12345

If incorrect data is entered, output the message:

"The username or password you entered is incorrect"

If correct data is entered - transfer to /profile page. User authorization information will be stored in localStorage with the parameter true / false.

Everything you need to implement using Redux.

Design: https://zpl.io/2GAeqmJ

About