Skip to content

Use Cases for Espresso

Earl Fong edited this page Nov 11, 2020 · 5 revisions

(1) Allow the ability to create a restaurant from the application, using proper endpoints.

What information should be contained in a restaurant? For starters,

  • Name (required)
  • Address (Street, Suite, City, State, Zip)
  • Phone Number (required)
  • Website
  • Email
  • Established

(2) Allow the ability to create an espresso review using proper endpoints.

What information should be contained in a review?

  • Reviewer id (required, email address)
  • Restaurant id (required, positive integer)
  • Rating (integer 1-5)
  • Comment (free-form text)
  • Date written (date format?)
Clone this wiki locally