Skip to content

Latest commit

 

History

History

voracious

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Voracious

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

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.

Source Code

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:

  1. git clone this directory to your local machine.
  2. install nodejs on your machine.
  3. sudo npm install -g create-react-app to install reactjs.
  4. cd to this project directory, npm install to install all required dependencies.
  5. npm start to host the app on your local machine. A webpage shall pop out. If not, nevigate to http://localhost:3000/ in your browser.
  6. To compile a production build of the project, type npm run build in the project directory. The production build shall be created in the build directory.
  7. Deploy your app on surge, which is as simple as:
    1. sudo npm install -g surge
    2. cd to your build directory
    3. surge