-
Notifications
You must be signed in to change notification settings - Fork 0
User Stories
Sam Handelsman edited this page Sep 6, 2023
·
4 revisions
- 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
- 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 log-in 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
- 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
- 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:
- As a logged in user, I want to be able to create new Products.
- When I'm on the
/new-productpage:- I can create and list a new Product.
- So that I can promote my Products on Samazon.
- I can create and list a new Product.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a selection of the most recent and promoted Samazon Products.
- When I'm on the
/productspage:- I can view all products in order of most recent to least recent.
- When I'm on the
/products/categories/<type>page:- I can filter by product type.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a specific Product and add it to the shopping cart.
- When I'm on the
/products/<int:id>page:- I can view the content of the Product and add it to my cart
- When I'm on the
- As a logged in user, I want to be able to edit my Products by clicking an Edit button associated with the Product anywhere that Product appears.
- When I'm on the
/products/<int:id>or/users/<int:id>/productspages:- I can click "Edit" to make permanent changes to Products I have posted.
- So that I can fix any errors I make in my Products.
- I can click "Edit" to make permanent changes to Products I have posted.
- When I'm on the
- As a logged in user, I want to be able to delete my Products by clicking a Delete button associated with the Product anywhere that Product appears.
- When I'm on the
/products/<int:id>or/users/<int:id>/productspages:- I can click "Delete" to permanently delete a Product I have posted.
- So that when I realize I shouldn't have posted a Product, or decide to remove it from the Samazon website, I can easily remove it.
- I should expect a confirmation modal before my product is permanently deleted.
- I can click "Delete" to permanently delete a Product I have posted.
- When I'm on the
- As a logged in user, I want a Shopping Cart to always be available.
- A Shopping Cart will be created when I sign up as a user.
- The same Shopping Cart will persist throughout different sessions.
- When I complete a purchase transaction, a new Shopping Cart will be created.
- As a logged in user, I want to be able to view all the products in my current Shopping Cart.
- As a logged in user, I want to be able to edit my Shopping Cart.
- When I'm on the
/product/<int:id>page:- I can add the product to my Shopping Cart.
- If the product is already in my cart, the quantity will update.
- I can add the product to my Shopping Cart.
- When I'm on the
user/<int:id>/cartpage:- I can update the quantity of a product.
- I can remove a product.
- I want to be able to complete the purchase transaction.
- When I'm on the
- As a logged in user, I want to be able to delete my Shopping Cart.
- If I don't like the products in my Shopping Cart, I want a button that will create a new Shopping Cart.
- As a logged in user, I want to be able to post a review
- I should only be able to post a review for an item I purchased
- I should not be able to leave a review on my own product
- I should not be able to leave a review on a product I already reviewed
- I should not be able to leave a review on my own product
- I should only be able to post a review for an item I purchased
- As a logged out user, I should not be able to post reviews
- As a logged in or logged out user, I want to be able to view a selection of the most recent reviews for a particular product on the product page
- When I'm on the /products/int:id
- I can view the Samazon reviews in order of most recent to least recent review
- When I'm on the /products/int:id
- As a logged in or logged out user, on an individual product page, I want to be able to view all Reviews for that specific product
- As a logged in user, I should be able to interact with my own reviews
- When I'm on the
/products/<int:id>, or/users/<int:id>/productspages:- I should be able to click an edit button to update my reviews
- I want to be able to change the review itself or the number of stars
- I should not be able to edit reviews that weren't written by me *As a logged out user, I should not be able to edit reviews
- I should be able to click an edit button to update my reviews
- When I'm on the
- As a logged in user, I should be able to delete my own reviews
- When I'm on the
/products/<int:id>, or/users/<int:id>/productspages:- I should be able to click a delete button to delete the review
- I should not be able to delete reviews I didn't write
- So that when I realize I shouldn't have posted a Product, or decide to remove it from the Samazon website, I can easily remove it.
- When I'm on the
- As a logged out user, I shouldn't be able to delete any reviews
- As a logged in user, I want to be able to see my previous Transactions
- A transaction should be recorded each time an item in the cart is checked out
- As a logged out user, I should not be able to view transactions
- Logged in users can search for products by name, category or description and view a list of all products that relate to what was input in the search field
- When creating a new product, logged in users can upload image files of approved file extensions.