Sassy-Snowmen / reactive-nutshell

0 stars 2 forks source link

User can register account using session storage #1

Open jisie opened 4 years ago

jisie commented 4 years ago

Story

As a user, I should be able to fill out a form with my email address (which will be the username) and a password to register myself in the application

Acceptance Criteria

Given a user wants to use Nutshell When the user first accesses the application Then the user should see a welcome message And a hyperlink to the registration form

Given a user wants to register an account with Nutshell When the user clicks the Register a new account hyperlink Then a registration form should be displayed where the user can enter in an email address, a password and a confirmation password.

Given a user has filled out both fields of the registration form When the user clicks the Register button Then it should check if the email address is unique And the password and confirmation password are identical Then a new account is created And the user is logged in Then the user should be taken to the main view of Nutshell

rhc822 commented 4 years ago

We decided to session storage based on chapter 10 conditional routing.

https://github.com/nashville-software-school/client-side-mastery/blob/master/book-4-the-apprentice/chapters/REACT_CONDITIONAL_RENDERING.md