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 clone
this directory to your local machine.- install nodejs on your machine.
sudo npm install -g create-react-app
to install reactjs.cd
to this project directory,npm install
to install all required dependencies.npm start
to 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 build
in the project directory. The production build shall be created in thebuild
directory. - Deploy your app on surge, which is as simple as:
sudo npm install -g surge
cd
to yourbuild
directorysurge