Skip to content

Uses Google Maps API nearby places search to plot a restaurant itinerary. Uses TSP algorithm to find the shortest route.

Notifications You must be signed in to change notification settings

simona1/Restaurant-Hopping

Repository files navigation

README

Restaurant Hopping is containerized inside a Vagrant VM. It uses Google Maps API, specifically nearby places search to retrieve a list of restaurants based on user input (location). For creating the itinerary for restaurant-hopping, it uses these results to implement the solution to the Traveling Salesman Problem. The results are drawn on map and shown on a list with ratings. A Google Maps API key is required.

Instructions

  1. Obtain API key for Google Maps.
  2. It should be stored in api_key.js

Run:

  1. vagrant up
  2. vagrant ssh
  3. cd /vagrant.
  4. yarn install
  5. yarn run build
  6. yarn run server Note: Skip steps 1-3 to run the app locally outside the Vagrant container.

In the browser, go to //localhost:5000 and type your preferred location for restaurant hopping in the search text box to see the recommended open now restaurants, their ratings and the shortest path itinerary. Test with yarn run test.

TODOs

  • add more tests
  • allow search by address
  • add loading indicator
  • add links
  • add flow
  • deploy

About

Uses Google Maps API nearby places search to plot a restaurant itinerary. Uses TSP algorithm to find the shortest route.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published