Skip to content

About

It's a search tool for people who want to stop for food along a specified route

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

bitebybite

It's a search tool for people who want to stop for food along a specified route

An instance of this application can be viewed at: https://bitebybite.herokuapp.com/

Built Upon the Following Technologies:

  • Node
  • Express
  • Jade
  • Bootstrap
  • jQuery (for Bootstrap only)
  • Google Maps JavaScript API
  • Google Places API (JavaScript Library)
  • Node-Yelp API

Notable features:

  • A user can select an origin and destination, using autocomplete from the Google Places API (JavaScript Library). A field is also provided to choose a Yelp search term.
  • A user can see a map with a suggested route from their selected origin to their selected destination.
  • A user can see a list of Yelp results near the route described above. This list is also populated as markers on the map described above. (Results courtesy of the Node-Yelp API)
  • Hovering over a marker displays the Yelp result name and it's Yelp rating.
  • A user can click on a marker or result in the list to view a result in more detail.
  • When viewing a result in detail, a map is generated showing that result set as a waypoint in the route between the origin and destination. In addition, step-by-step directions are provided via the Google Maps JavaScript API. There is also an external link to the result's Yelp page.

To run an Instance of this app, you need:

1. Google Maps API Key

script(type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=YOUR-GOOGLE-MAPS-API-KEY-HERE&libraries=places,geometry")

2. Yelp API Key

var apiKey = "YOUR_API_KEY_HERE";

3. Install Dependencies

  • In your terminal window, run npm install to install dependencies

4. Start Server

  • Run node app.js to start!

5. Using the App

  • Navigate to http://localhost:1337 in your web browser
  • Enter an origin and destination, selecting options from the dropdown list
  • Enter a type of food, business, or other yelp search term
  • Click the Search Along Your Route Button
  • View your results
  • View a selection as a waypoint in your route by clicking on the result title or marker

bitebybite Result Selection with Directions

bitebybite Search Results

About

It's a search tool for people who want to stop for food along a specified route

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages