This project tries to solve the problem that you have a group of friends who want to find a place to go (restaurant and bar) that is close to all of them.
- 📍 Geographical Center Calculation: Calculate the geographical center of multiple nodes.
- 🏠 Address to Coordinates: Convert a physical address to latitude and longitude 🌍.
- 🍔🍹 Find Nearby Places: Search for nearby restaurants, bars, or other places using Google Places API 🛍️.
- 📍🍔 Find Restaurants and Bars near center : Find the bars and restaurants near the center of all the addresses
- Clone the project
git clone https://github.com/ahnafyy/where-should-we-go-hang.git
-
Update the addresses section in
config.json -
Run the project
node index.js