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.
Gamer Blogs
Create Post
As a registered gamer, I want to be able to create my own blog on the 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.
The post page will have a like and comment button.
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.
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 Comment
As a registered gamer, I want to be able to edit my comments, so that I can fix mistakes and rephrase if necessary
Acceptance Criteria
When I'm logged in, I will see a button for editing 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.
Delete Comment
As a registered gamer, I want to be able to delete my comments, so that I can remove the comment from the post.
Acceptance Criteria
When I'm logged in, I will see a button for editing on comments that I wrote.
When I click the delete button, my comment will be removed from the comments section.
Likes
Create Likes
As a registered and authorized user, I want to be able to like posts and comments that are on my feed, so I can show my enjoyment from reading the post.
Acceptance Criteria
When seeing a post or comment there will be a like button.
When I click the like button the color will change and the total number of likes will increase by one.
Delete Likes
As a registered and authorized user, I want to be able to remove my likes from any posts and comments that I've liked in the past, so I can remove the like if I realize I do not like the post.
Acceptance Criteria
When seeing a post or comment there will be a like button that indicates I have already liked it.
When I click the button, it will revert to its original color and the total number of likes will decrease by one.
Follows
Create Follow
As a registered and authorized gamer, I want to be able follow other users, so I can read their posts 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.
Delete Follow
As a registered and authorized gamer, I want to be able to unfollow anyone I have followed, so I can no longer see their posts on my feed.
Acceptance Criteria
When I'm reading a post, there will be a "following" button next to the author's name.
When I click the button, the "following" button will change to "follow".
The author's stories will then no longer appear on my feed.