Skip to content

User Stories

TKat72 edited this page Apr 28, 2022 · 10 revisions

User Stories

Users

Sign Up

  • As an unregistered and unauthorized user, I want to be able to sign up for the website via a sign-up form.
    • When I'm on the /signup page:
      • I would like to be able to enter my email, username, and preferred password on a clearly laid out form.
      • I would like the website to log me in upon successful completion of the sign-up form.
        • So that I can seamlessly access the site's functionality
    • When I enter invalid data on the sign-up form:
      • I would like the website to inform me of the validations I failed to pass, and repopulate the form with my valid entries (except my password).
      • So that I can try again without needing to refill forms I entered valid data into.

Log in

  • As a registered and unauthorized user, I want to be able to log in to the website via a log-in form.
    • When I'm on the /login page:
      • I would like to be able to enter my email and password on a clearly laid out form.
      • I would like the website to log me in upon successful completion of the lob-up form.
        • So that I can seamlessly access the site's functionality
    • When I enter invalid data on the log-up form:
      • I would like the website to inform me of the validations I failed to pass, and repopulate the form with my valid entries (except my password).
        • So that I can try again without needing to refill forms I entered valid data into.

Demo User

  • As an unregistered and unauthorized user, I would like an easy to find and clear button on both the /signup and /login pages to allow me to visit the site as a guest without signing up or logging in.
    • When I'm on either the /signup or /login pages:
      • I can click on a Demo User button to log me in and allow me access as a normal user.
        • So that I can test the site's features and functionality without needing to stop and enter credentials.

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 recent Meme questions.
        • So that I can easily log out to keep my information secure.
      • On that page I can easily access the Log-in form.
        • So that I can log back in easily.

Photos

  • As a logged in user, I can add a new photo change it or delete it :
    • When I'm on the /photos page:
      • I can click on the "Add new Photo" button to post new photo
        • After successfully adding new photo it will redirect me to all my photos
    • When I'm on on the /photos/:photoId
      • I can see photo details and comments for this photo
    • When Im on the /:photoId/delete ( only for my photos )
      • I can click "Delete" button that will remove this photo
        • After successfully deleting photo " Success" massage will show up and it will redirect me to all my photos
    • When Im on the /:photoId/edit ( only for my photos )
      • I can click "Edit" button that will allow me to change photo url , title and discussion
        • After successfully editing photo " Success" massage will show up and it will redirect me to detail page of this photo

Albums

  • As a logged in user, I can add a new Album change the title it or delete it :
    • When I'm on the /albums page:
      • I can click on the "Add new Album" button to create new Album
        • After successfully adding new Album it will redirect me to all my albums
    • When I'm on on the /albums/:albumId
      • In the Album page , there is button inside , which will allow you to choose from your photos or add a new one
      • I can see all photos in the album
    • When Im on the /:albumId/delete ( only for my Albums )
      • I can click "Delete" button that will delete this Album
        • After successfully deleting album " Success" massage will show up and it will redirect me to all my albums
    • When Im on the /:albumId/edit ( only for my Albums )
      • I can click "Edit" button that will allow me to change album title
        • After successfully editing album " Success" massage will show up and it will redirect me to this album

Comments

  • As a logged in user, I can comment on photos edit my comment and delete it
    • When I’m on the /photos/:photoId page:
      • I can see all comments for that photo
      • I can add new comment for this photo by clicking "Add Comment" button
    • When I’m on the /:commentId/delete ( only for my comments )
      • I can click "Delete" button that will delete this Comment
        • After successfully deleting comment i will be redirected to photo page

Tags

  • As a logged in user, I can create a new tag, apply and remove a tag from a photo, read all my tags and associated photos, and delete a tag.
    • When I’m on a /photos/:photoId page:
      • I can create tags for a photo
      • I can see all tags right under photo till the width of that photo , if there more tags whey will be moved to next line , tags will have limited length so they will not take a lot of space
      • I can click a tag's name to see all of my other photos that tag
      • I can click a button to remove that tag from this specific photo ( if its my photo), and it will remove tag from photo , but this tag will stay in the tags list for later use
    • When I’m on the /:userId/tags page
      • I can see a list of all of my tags
      • I can delete a tag from the list which will remove it from all photos
      • I can click a tag's name to see all of my photos with that tag

Clone this wiki locally