restaurant1989 is a Ruby on Rails blog application.
Submitted by: Tiến Mạnh Đỗ
Time spent: 32 hours spent in total
URL: http://restaurant1989.herokuapp.com/
User Stories
The following required functionality is complete:
- [x] The User must be able to go two pages: Menu, and Contact Us.
- [x] The User can see the address and phone number on the contact us page.
- [x] The User can see a basic google map on the Contact Us page.
- [x] The User can navigate to a menu page with four sections:
- Breakfast
- Lunch
- Dinner
- Drinks
- [x] The user should see at least 5 food items in each section.
- [x] Each food item should have the following fields:
- Name
- Description
- Price
- Section
- imageUrl
- [x] The User should be able to filter by section of Breakfast, Lunch, Dinner, or Drinks and see only the relevant items.
- [x] The User can sort menu items by “alphabetical”, “price low to high”, and “price high to low”.
- [x] The User should be able to get for a menu item and see results.
- [x] licking on an item in the menu brings up its detail, where you see the description and a larger picture.
- [x] The User can click “order” on a menu item to go to a “Create Order” page.
- [x] The User is able to fill in their name, phone number, and address.
- [x] The User is taken to a “Thank you for your order page” that lists the name of item, the total cost (delivery should cost 20,000 VND), the user’s name, the user’s address, and the time the order was created in human-readable format (for example, Tuesday, December 1, 15:25).
The following optional features are implemented:
- [x] The User can also filter by type of Cuisine.
- [x] The User can see how many times each menu item has been viewed, and sort items by “most viewed”.
- [x] The User can leave a review (1-5 stars) for each dish, along with a text review.
- [x] The User can see reviews and an average review score.
- [x] The user can input “CODERSCHOOL” as a coupon code on the order page, which should give a 50% discount off of the order.
- [x] The User receives an email upon placing an order.
The following additional features are implemented:
- [x] Share information about the food with their friend by using their social network accounts
Notes
My challenges when building the app are:
- Learning about cart, background-image, ruby string.
- I have to use 24-extension help, but I think it is worth it.
Video Walkthrough
Here are 2 video walkthroughs of implemented user stories:
![Video Walkthrough](https://github.com/domanhtien2011/restaurant/blob/master/walkthrough1.gif)
![Video Walkthrough](https://github.com/domanhtien2011/restaurant/blob/master/walkthrough2.gif)
![Video Walkthrough]()
GIF created with Byzanz
License
Copyright [2016] [Tiến Mạnh Đỗ]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.