-
Notifications
You must be signed in to change notification settings - Fork 0
Menuable User Stories
stevenseb edited this page Aug 21, 2024
·
7 revisions
Menuable is a lightweight food ordering app that allows customers to place orders based on the menu of the week for weekend delivery.
As an unauthorized user, I want to be able to signup to use the app via a modal that allows me to create a username and password to login
- How will an unregistered and unauthorized user be able to become an authorized user?
- An unregistered and unauthorized user will be able to sign up for the website via a sign-up form modal.
- What information will the user provide to sign up?
- The user will provide an email address, first name, last name, phone number, delivery address and preferred password on a clearly laid-out form.
- What happens if the user provides invalid data?
- If the user provides invalid data, the form will display error messages for each invalid field and the submit button will be inactive. This allows the user to easily correct the errors and continue the signup process.
As an unauthenticated user, I want to be able to login to the website via a form, so that I can access my account and boards.
- Will the user enter a username or an email to login?
- Users will log in using an email or username and password combination.
- What routes should an unauthorized user use for login?
- Unauthorized users will use the /login route to access the login page.
- Where should the user be redirected after login?
- Upon successful login, users will be redirected to the /homepage.
- What happens if the user doesn't exist yet?
- Display the message Invalid Login please try again or signup if you haven't registered.
- What happens if the User enters the wrong password?
- If a user enters an incorrect password, the system will indicate that the validation failed and repopulate the form with the previously entered valid entries.
- Should this story include allowing a user to reset their password?
- Not yet -- maybe in a future story.
- If I am a user not signed up
- I will only have visibility of the homepage
- I will see a prompt to signup or login and a button with a demo account
- If I am a user who is signed up
- I will be able to login from the homepage
As a first-time user who just wants to try out Menuable, I want to be able to login as a demo user with a single button click on the login and signup form, so that I can explore the site features without having to signup.
- Will the user be able to view menu items?
- Yes, just as a non-logged in user will be able to view menu items.
- Will the user be able to add/remove items from the cart?
- Yes, because there will be no actual linked payment system and the user will be alerted that the order is for demonstration purposes only.
- Will the user be able to complete an order?
- Yes, the user will be able to create and submit an order for demonstration purposes.
- Will the user be able to view order history?
- Yes, for demonstration purposes, a user will be able to view the previous orders page of the demo account.
- Will the user be able to read or create reviews?
- Yes, for demonstration purposes, a user will be able to view and create reviews.
- What routes should we use for the Demo user?
- The Demo user will have access to the “/“ menu page.
- The Demo user will have access to the "users/demo/orders" previous orders page.
- The Demo user will have access to a Demo “/users/demo” profile page.
- Will the user be able to receive actual orders?
- No, the Demo user will not be able to receive orders nor enter any payment information as the site is for demonstration purposes only.
As an authorized user, I want to be able to create a cart so that I can add items to place an order.
- Will a user be able to create a cart?
- Yes, any authorized user can create a cart by adding the first item.
- Will a user be able to view their current cart?
- Yes, a user, when logged in, will be able to view the current contents of the cart.
- If I am a user that is signed-in
- When I am at the "menu" route
- I should see:
- A header followed by all the available items on the current menu.
- Each item will have a card with information about the item and a button to add the item to the cart.
- When I click "View Cart"
- I will be shown a modal with the items I added to the cart.
- I will have the ability to increase/decrease the desired quantity of items.
- I will have the ability to delete items from the cart and to delete the entire cart.
- When I refresh the page
- Then I should still be logged in
As a logged in user, I want to be able to leave a review for menu items
- Will a logged in user be able to create a review?
- Yes a board owner can leave a review and rating for menu items.
- Will a board owner be able to delete a review they created?
- Yes a board owner can delete a review they created.
- Will a logged in user be able to edit reviews they created?
- Yes a logged in user will be able to edit reviews that they created.
- Given that I am a logged-in user
- When I click leave a review for a menu item, I will see a form modal to create a review
- When I save it, my changes will be visible
- When I delete a review
- I will be prompted a second time before deletion
- After I click confirm
- The review will be deleted
- When I click edit a review that I created
- I will see a modal form to edit my review and when saved
- I will see the changes to my review