Module displays carousel of top 10 most popular dishes for the given restaurant with image and stats like price and number of reviews from users that mention the dish. Clicking on the Full Menu displays the Full Menu of all dishes for the restaurant.
See demo at https://youtu.be/E7p8BuHpOmo
- https://github.com/YumpSF/reservation-hours
- https://github.com/YumpSF/Recommended-Reviews-Module
- https://github.com/YumpSF/overview
- npm install
- npm run react-dev to run webpack
- npm start to run server
- in database/index.js update default user and pw if needed
- run npm create-database to run schema file and create database
- run npm seed-database to seed the database (seeds data for 100 restaurants with 15 dishes per restaurant and additional data)
- to run app for a given restaurant, enter restaurant ids 0 - 99 in URL pathname OR
- if prefer to call App with restaurantName, can uncomment line 97 in App.jsx and pass down restaurantName as prop in index.jsx
- Node 6.13.0
- mySql database
From within the root directory: npm install -g webpack npm install
- npm test to run jest unit test suite for all components
- Thanks to everyone on the YumpSF team for builing awesome modules that bring to life the YumpSF verison of the Yelp restaurant page user experience!