User Stories - ariana2395/Python-Group-Project GitHub Wiki
Users
If I am a user who is not authorized or registered, then I will become a user by signing up on the Yelp website using a sign-up form. The form will require my email, username, and password. Once I sign up successfully, the website automatically logs me in. As a registered user, I have access to features on the website that are different from those available to unregistered and unauthorized users. However, if I do not provide valid information, the website will notify me of which validation has failed. If this happens, the form on the website will retain the data, allowing me to correct the error. The benefit to this is that I will make corrections instead of starting again. This feature does not include the password, only my email and username.
/signup
If I am a user who is registered, then I can log in to the form. I'll input my email or username and my password, and the website will authenticate me successfully, and I will be logged in. When I am successfully logged in, the website will show me features that are specific to my account as a user. On the other hand, if my credentials are invalid, then the form will show me the error and retain my email or username in the form.
/login
If I am a user who is not registered, then a "Demo User" account is an option. "Demo User" is a button on the form to sign-up and login. By clicking the button and without creating an account, the website's user access will display, and I can engage.
/login
/signup
If I am a user who is registered and want to leave my Yelp account, and keep my information secure, then I can log out. The log-out feature is a button within the navigation that is easily visible on any page of the website. By clicking the log-out button, my user session ends, and the website automatically returns to the Yelp website's landing Home page. This feature secures my account.
/businesses
/login
Businesses
As a user, a list of all businesses on the platform is displayed to help discover new places. When I am logged in as a user, my business(es) are added to the Yelp website using a form. Adding a company to the listings will allow other users to find and review my business. To keep a business's information up to date, a business owner will make changes to their listing on the website. If a business owner deletes their business from the listings on the platform, then they can remove it from the website, and it will no longer display to other users.
/businesses/new
/businesses
/businesses/:id
/businesses/:businessId/edit
Reviews
For reviews, all feedback for a business is available to any user, providing insight into the experiences of other customers. While logged in, I am able to add a review to any business, sharing my perspective. I can also update my review if my experience changes, or delete it if I no longer wish to share it with others.
/businesses/:businessId/reviews/new
/businesses/:businessId
/reviews/:reviewId/edit
Search/Filter
Searching for businesses by name, category, or price helps narrow down the options. The search results appear in an organized list, making it easy to browse and find places that fit my needs.
/businesses
Images
Images posted by users are displayed on each business’s page, giving a visual preview before visiting. As a logged-in user, I have the ability to upload images to businesses I own or have visited. If I need to, I can remove any images I have added, maintaining control over my shared content.