User Stories - CasstielP/Carbs-and-Me GitHub Wiki
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, first name, last name, 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:
videos
Create Videos
- As a logged in user, I want to be able to upload new video.
- When I'm on the
/new-videopage:- I can upload and submit a new video.
- So that I can share my moments on the internet.
- I can upload and submit a new video.
- When I'm on the
Viewing videos
-
As a logged in or logged out user, I want to be able to view all the videos on that website.
- When I'm on the
/page:- I can view all the videos available on the site.
- So that I can click and watch them.
- I can view all the videos available on the site.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a specific video when I'm on the video page.
- When I'm on the
/videos/:videoIdpage:- I can watch the video, as well as the associated comments.
- When I'm on the
Updating video
- As a logged in user, I want to be able to edit my videos (title, descriptions)by clicking an Edit button associated with the video on the profile page.
- When I'm on the
/profile:- I can click "Edit" to make permanent changes to video I have uploaded.
- When I'm on the
Deleting video
- As a logged in user, I want to be able to delete my video by clicking a Delete button associated with the video on the profile page.
- When I'm on the
/profilepage:- I can click "Delete" to permanently delete a video I have uploaded.
- When I'm on the
Comments
Create Comments
- As a logged in user, I want to be able to create new comments.
- When I'm on the
/videos/:videoIdpage:- I can create and submit a new comment under the video in the comment section.
- So that I can share my thoughts about the video on the internet.
- I can create and submit a new comment under the video in the comment section.
- When I'm on the
Viewing comments
- As a logged in or logged out user, I want to be able to view all the comments on the video detail page.
- When I'm on the
/page:- I can view all the comments available for that particular video.
- 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 comment on the video detail page as well as on the profile page.
- When I'm on the
/profile:- I can click "Edit" to make permanent changes to the comments I have uploaded.
- When I'm on the
/videos/:videoId:- I can click "Edit" to make permanent changes to the comments I have uploaded.
- When I'm on the
Deleting video
- As a logged in user, I want to be able to delete my comment by clicking a Delete button associated with that comment on the profile page as well as the video detail page.
- When I'm on the
/profilepage:- I can click "Delete" to permanently delete a comment I have uploaded.
- When I'm on the
/videos/:videoIdpage:- I can click "Delete" to permanently delete a comment I have uploaded.
- When I'm on the