Skip to content

User Stories

Zhuoxin Tan edited this page Aug 24, 2021 · 2 revisions

Restaurant(CRUD)

As a registered user I want to create a restaurant page with details so other users can view

  • when clicking on the link/button the user is redirected to a create restaurant form
  • after filling out all the needed fields and clicking the submit button a new restaurant page is created
  • the user is redirected to an appropriate page(homepage/user's profile page)

As a authorized user I want to be able to edit the restaurant page so I can keep all the information up to date.

  • edit the information that keep everything up to date.

As a authorized user I want to be able to delete the restaurant page

  • after clicked on the link/button, the restaurant page is removed from the database.
  • user is redirected to an appropriate page(homepage/user's profile page)

Reservations(CRD)

As a registered user, I want to make a reservation on a restaurant.

  • the reservation form will be located at the restaurant page,
  • after filling out all the needed fields(party size, start date and start time) and clicking the submit button a new reservation is created.

As a registered user, I want to view my own reservation in the user's profile page.

  • after submit the form, user is redirected to an appropriate page(homepage/user's profile page)
  • All the reservations should be listing in the user's profile page.

As a registered user, I want to cancel the reservation that I made.

  • In the user' profile page, I can click on the link/button to remove the reservation.

Reviews(CRUD)

As a authorized user, I want to leave a review for the the restaurant after I have eaten there.

  • After made the reservation at the restaurant, users are able to click on the link/button which is located at the restaurant page to leave a review
  • After filled out all the fields and click on the submit button/link, a new review is created

As a authorized user, I want to edit my reviews

  • the edit button appears with the reviews that the user made.
  • The user can click on that edit button/link to have a form that can update the reviews.
  • After filling out the form and clicked on the submit button, the selected review is updated.

As a authorized user, I want to delete my reviews

  • The delete button/link appears with the reviews that the user made.
  • The user can click on that delete button/link to remove the selected review.

Clone this wiki locally