User Stories - daviiiL/echo GitHub Wiki
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
/signuppage:- 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.
- When I'm on the
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
/loginpage:- 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.
- 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).
- When I'm on the
Demo User
- As an unregistered and unauthorized user, I would like an easy to find and clear button on both the
/signupand/loginpages to allow me to visit the site as a guest without signing up or logging in.- When I'm on either the
/signupor/loginpages:- 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.
- I can click on a Demo User button to log me in and allow me access as a normal user.
- When I'm on either the
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 FauxTweets.
- So that I can easily log out to keep my information secure.
- I can log out of my account and be redirected to a page displaying recent FauxTweets.
- While on any page of the site:
1. Articles
Create Articles
- As a logged in user, I want to be able to post new Articles
- When I'm on the
/new-storypage:- I can write and submit a new article
- So that I can share my thoughts and knowledge with the internet.
- I can write and submit a new article
- When I'm on the
Viewing Articles
-
As a logged in or logged out user, I want to be able to view most recent articles.
- When I'm on the
/page:- I can view the most recent articles and news by categories.
- So that I can read and interact with the author and other uses via comments.
- I can view the most recent articles and news by categories.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a specific article or news and its comments.
- When I'm on the
/words/:articleIdpage:- I can view the content of the article, its author information, likes and comments.
- So that I can read the article in interest and interact with the rest of the internet via commenting.
- I can view the content of the article, its author information, likes and comments.
- When I'm on the
Updating Articles
- As a logged in user, I would like to be able to edit my articles as many times as I need to and publish my updated article with ease.
- When I'm on the
/account/my-storiesane/words/:articleIdpages:- I can click "Edit" to make permanent changes to my articles or comments I have posted.
- So that I can fix or update my text in these components.
- I can click "Edit" to make permanent changes to my articles or comments I have posted.
- When I'm on the
Deleting Article
- As a logged in user, I want to be able to delete my article by clicking on a Delete button shown on articles that I published when in edit mode.
- When I'm on the
/account/my-storiesoe/words/:articleIdpages:- I can click "Delete" to permanently delete an article I have posted.
- So that when I realize I shouldn't have publicly said something, I can easily remove it.
- I can click "Delete" to permanently delete an article I have posted.
- When I'm on the
2. Comments
Create Comments
- As a logged in user, I want to be able to post new comments.
- When I'm on the
/words/:articleIdpage:- I should be able to click on the "create comment" button.
- I can write and submit a new comment on an article.
- So that I can share my comments with the internet about that article.
- When I'm on the
Viewing Comments
- As a logged in or logged out user, I want to be able to view a selection of the most recent comments on an article.
- When I'm on the
/thoughtspage:- I can view the ten most recently posted comments.
- So that I can read and interact with the thoughts of the internet on the latest articles.
- I can view the ten most recently posted comments.
- When I'm on the
Updating Comments
- As a logged in user, I want to be able to edit my comments by clicking an Edit button associated with the article.
- When I'm on the
/words/:articleId, or/account/current/thoughtspages:- I can click "Edit" to make permanent changes to comments that I have posted.
- So that I can update my comments to the article.
- I can click "Edit" to make permanent changes to comments that I have posted.
- When I'm on the
Deleting Comments
- As a logged in user, I want to be able to delete my comments by clicking a Delete button associated with the comment.
- When I'm on the
/words/:articleId, or/account/current/thoughtspages:- I can click "Delete" to permanently delete a Comment I have posted.
- So that when I regret making that comment, I can delete it.
- I can click "Delete" to permanently delete a Comment I have posted.
- When I'm on the