-
Notifications
You must be signed in to change notification settings - Fork 0
User Stories
Rheannone edited this page Jan 28, 2021
·
8 revisions
- What information is needed to log in?
- password
- Where will the user go after they log in?
- Redirect to home page
- Will we allow 3rd party login?
- no
- How do we handle if the user name is not found?
- Deny request, display message prompting to try again or create
- How do we handle if user enters the wrong password?
- Deny request, display message prompting to try again or create
- Should we use session based or token based authentication?
- session for now since that is what we know.
- What information is required at sign up?
- email, display name, password
- Will the password be confirmed at sign up?
- Yes it will
- Will the password be concealed?
- yes
- Where should the user be directed after they sign up?
- home page
- What happens if the user enters an email that is already in our db?
- Display message that email is already associated with account.
- provide link to login page
- What happens if a user enters a user/display name that is already in our db?
- Display a message that the username is taken. If this is your username, login here.
- When I try to sign up with a password that doesn't meet minimum requirements? ** display error showing min password requirements
- When I fill out a sign up form with all good details what happens?
- seed user to db and redirect user to home page
- Redirect user to home page where the prompt to create an account is replaced with a welcome message
- What access will a demo user have?
- the same behavior as a logged in user but with demo user credentials
- To what route will the demo login button take the user?
- redirect to the home '/'
- What happens when a demo user tries to leave a comment?
- Display a message that only registered users can leave a comment
- What happens when a demo user clicks the 'like' button?
- The like will register, demo user has 'like' permissions (bonus: reset demo user likes at end of session. If we end up tracking likes by user instead of just aggregate likes)