sergeKashkin / crud-tutorial

0 stars 1 forks source link

FEAT: UI - Implement authentication pages #3

Open sergeKashkin opened 6 months ago

sergeKashkin commented 6 months ago

The purpose of this story is to create an authentication flow. For now only the UI. Let's create 2 pages:

  1. Login page. Show login form - email: string; - validate the input to be a valid email pattern. password: string; - validate the password input to be at least 6 characters long. Make sure this page has links to - [home page, sign up page]

  2. Sign Up page. Show sign up form - email: string; - validate the input to be a valid email pattern. password: string; - validate the password input to be at least 6 characters long. Make sure this page has links to - [home page, sign up page]

The describe pages should be accessible from our home page.

  1. By navigating to auth/login - show Login page.
  2. By navigating to auth/sign-up - show Sign up page.