Skip to content

User Stories

David Alliger edited this page Jan 14, 2022 · 6 revisions

Users

Sign Up

  • As an unregistered and unauthorized gamer, I want to be able to sign up for the Large website so I can share my opinions on games.

Acceptance Criteria

  • When I'm on the sign-up page
    • I would like to be able to insert an email, username, and password on a form.
    • I would like to be logged in once I submit the form with valid data.
  • If I enter invalid data I want to know which data was invalid and have the valid data repopulate.

Log in

  • As a registered and authorized gamer, I want to be able to log into the Large website so I can post, like, and comment.

Acceptance Criteria

  • When I'm on the log in page
    • I would like to be able to log in with an email and password.
    • I would like to be logged in once I submit the log in form.
  • If email or password are invalid I will receive an invalid message and prompt with the login form again.

Log out

  • As a registered and authorized gamer, I want to be able to log out from the Large website so I can insure my accounts safety.

Acceptance Criteria

  • When I'm logged in a log out button will appear in the navigation.
  • If I click the log out button I will be redirected to the home page and my session will end.

Follow

  • As a registered and authorized gamer, I want to be able follow other users so I can read their stories in my feed.

Acceptance Criteria

  • When I'm reading a post, there will be a "follow" button next to the author's name
  • When I click the button, the "follow" button will change to "following"
  • The author's stories will then appear on my feed.

Feed

  • As a registered and authorized gamer, upon login, I want to be able to see a feed of stories from people I follow, so I can stay up to date with their most recent gamer-logs.

Acceptance Criteria

  • When I log in, I will be directed to the home page
  • On the home page, there will be a feed of gamer-logs from the authors I follow
  • The posts will appear in order of creation, from most recent to least recent
  • If I am not following anyone yet, I will see a message that tells me to follow authors

Gamer Blogs

Create Post

  • As a registered gamer, I want to be able to create my own blog on the Large website so I can spread my knowledge on games.

Acceptance Criteria

  • When I'm logged in there will be a "Create Blog" button.
  • When I click the button I am directed to a blog form with title field, body field, and a submit button.
  • Once I click the submit button I will be directed to my profile page with all my posts.

Read Post

  • As a registered gamer, I want to be able to click on a post so I can read the selected post.

Acceptance Criteria

  • When clicking on the title of the post I will get directed to the specific post page.
  • The page will show the title and body of the posts.
  • Each post will have a like button that I can click on
  • When I click on the like button, the like count will increase by one
  • If I click the button again, I will remove that like

Update Post

  • As a registered gamer, I want to be able to click the edit button so I can change my selected post.

Acceptance Criteria

  • In the post page there will be an edit button.
  • Once I click the edit button I will be directed to the post form with the post already filled .
  • I will be able to change the fields in the form.
  • Once the changes are made there will be an update button.
  • When clicking the update button the changes will be saved and I'll be directed to my profile page with all my posts.

Delete Post

  • As a registered gamer, I want to be able to click the delete button so I can delete any of my posts.

Acceptance Criteria

  • In the post page there will be a delete button.
  • Once I click the delete button I will be directed to a confirmation page.
  • In the confirmation page there will be a delete and cancel button.
  • If I click the delete button the post will be deleted and I will be directed to my profile page with all my posts.
  • If I click the cancel button I will be directed to the original page I was on.

Comments

Read Comments

  • As a registered gamer, I want to be able to read comments on gamer-logs, so I can see the opinions of other gamers.

Acceptance Criteria

  • When I'm on a post page, I will see an icon for comments
  • When I click on the icon, a comments sidebar will appear on the right side of the page
  • The sidebar will contain all of the previous comments on the post
  • The comments will be ordered from most recent to least recent
  • Each comment will have a like button that I can click on
  • When I click on the like button, the like count will increase by one
  • If I click the button again, I will remove that like

Create Comment

  • As a registered gamer, I want to be able to comment on gamer-logs, so I can share my opinions.

Acceptance Criteria

  • There will be a text input box at the top of the comments sidebar
  • I can write my own comment in the text box and hit submit to submit my comment
  • My new comment will appear at the top of the comments sidebar

Update/Delete Comment

  • As a registered gamer, I want to be able to edit or delete my comments so that I can fix mistakes and rephrase if necessary

Acceptance Criteria

  • When I'm logged in, I will see buttons for editing and deleting on comments that I wrote
  • When I click the edit button, a new form will appear, prepopulated with the text from my comment
  • I can make changes, and click a submit button on the form to update my comment
  • When I click the delete button, my comment will be removed from the comments section
Clone this wiki locally