Whenever you are hungry, Voracious helps you search for nearby restaurants base on type of food and location!
You can search by Best Match, Highest Rated, or Most Reviewed.
Voracious makes use of the Yelp API. Clicking on images of the search results will direct you to the corresponding restaurants' Yelp page, providing further information about that particular eatery.
A live demo is available on https://voracious.surge.sh, with SSL enabled.
All source code is provided except the Yelp API key at src/util/Yelp.js. You should register your own API key at this link.
To run this application on your local machine, follow these steps:
git clonethis directory to your local machine.- install nodejs on your machine.
sudo npm install -g create-react-appto install reactjs.cdto this project directory,npm installto install all required dependencies.npm startto host the app on your local machine. A webpage shall pop out. If not, nevigate tohttp://localhost:3000/in your browser.- To compile a production build of the project, type
npm run buildin the project directory. The production build shall be created in thebuilddirectory. - Deploy your app on surge, which is as simple as:
sudo npm install -g surgecdto yourbuilddirectorysurge
