Skip to content

User Stories

jcahela edited this page Oct 5, 2021 · 3 revisions

Users

User Stories 1 - Login

  • As an unauthorized user, I want to be able to log in using a form, so I can access my Following Feed page.
    • When I'm on the / landing page:
      • I would like to be able to enter my username and preferred password in a form order to login.
    • When I enter an invalid username or password on the login form:
      • I would like the website to inform me of any validations I failed and
      • Fill any entries with the information added previously except for the password field
    • When I successfully fill out the username and password with valid login criteria
      • I would like the website to redirect me to the Feed Page /feed

User Stories 2 - Signup

  • As an unauthorized user, I want to be able to sign up a new account under a new username and password using a form
    • When I'm on the /signup page:
      • I would like to be able to enter a chosen username and preferred password as well as a first name and last name in a form in order to create an account with that username and password.
    • When I press the Sign Up button with an empty first name on the Sign Up form:
      • Then the page will show a validation error of the missing first name field
    • When I press the Sign Up button with an empty last name on the Sign Up form:
      • Then the page will show a validation error of the missing last name field
    • When I press the Sign Up button with an empty username on the Sign Up form:
      • Then the page will show a validation error of the missing username field
    • When I press the Sign Up button with a username that already exists in the database:
      • Then the page will show a validation error of the username already existing
    • When I successfully fill out the Sign Up form username and password fields with valid criteria
      • I would like the website to redirect me to the Feed page /feed

User Stories 3 - Demo User

  • As an unregistered and unauthorized user, I want to see a easy to find button on both the /signup page and / landing page that allows me to continue browsing the site as a guest user, without having to sign up or login
    • When I click on the demo user button
      • I would like to be logged in as a normal user to test the site's functionality

Log Out

  • As a logged in user, I want to log out via an easy to find log out button on the navigation bar.
    • While on any page of the site:
      • I can log out of my account and be redirected to a page displaying the homepage.
        • So that I can easily log out to keep my information secure.

Following Feed

Explore Page

Likes

Comments

Posts

Following/Followers

Profile Page

  • I want to be able to see my Finstagram posts on my profile page in 3 columns, with uniform sized pictures.
Clone this wiki locally