Skip to content

Instantly share code, notes, and snippets.

@raghubetina
Last active April 1, 2022 16:22
Show Gist options
  • Save raghubetina/6f869af6f9cdafecbd8eeb94b290ed65 to your computer and use it in GitHub Desktop.
Save raghubetina/6f869af6f9cdafecbd8eeb94b290ed65 to your computer and use it in GitHub Desktop.
Yelp User Stories

Yelp User Stories

This is a simplified version of Yelp. Only worry about user stories described here.

As a user, I should be able to...

On the Restaurants page

  • See a list of restaurants
  • Search by name
  • Filter by tag
  • Narrow by average rating
  • See number of reviews

On the Restaurant Details page

  • See the restaurant's:
    • description
    • address
    • website
    • cover photo (only one per restaurant)
  • See a list of reviews. For each one:
    • the user who left it (first name, last initial)
    • how many stars
    • content
    • photos (there could be multiple for each review)

On the User Profile page

  • number of reviews
  • average rating given
  • list of reviews

When you've completed the above...

  • What if we start selling the ability for restaurant owners to leave responses to reviews? How would that affect our domain model? A single user should be able to "own" multiple restaurants, and a restaurant can have multiple "owners".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment