Restaurant Reviews
Build a website which allows customers to review local restaurants. All restaurant details and reviews must be stored in a database.
Stage 1
The core functionality consists of three screens that allow users to review a single restaurant:
- The home screen displays the following information about the restaurant. The text and image name should be stored in the database, not included in the page template as static text:
- The name of the restaurant.
- A large photo banner image of the restaurant interior.
- The address and phone number
- A detailed, multi-line, formatted description
- Clicking on either the image or name displays the details screen where the following information is displayed:
- The large banner image showing the restaurant interior.
- The name of the restaurant
- The address, phone number and email address.
- A detailed, multi-line, formatted description
- The user reviews with the most recent at the top and with the date each was added clearly shown
- If the user has not already left a review there should be a multiline text area where they can add their own detailed, multi-line, formatted review.
Stage 2
The intermediate tasks require you to make changes to the functionality:
- The home screen displays a list or grid of multiple restaurants and displays the following for each of them:
- The name
- A thumbnail image
- Clicking on the image or name should display the details (see basic task 2) of the one selected.
- If the admin user is logged in, there should be a button or link on the home page to add a new restuarant. This should request the following information:
- The name of the restaurant
- A high-resolution photo
- The address and phone number
- A detailed, multi-line, formatted description.
Stage 3
- In addition, the restaurants should be displayed in rating order with the best rated at the top.
- All reviews should be marked as pending until the site admin releases them.
- Pending reviews should not be publicly visible.
- The site should implement full-text searching.
- Logged in users can add comments to other people's reviews.
- Restaurants can be assigned to the owner's account who can update their own restaurant details (one owner might be assigned several restaurants).