/places-to-go

App for finding a venue.

Primary LanguageJavaScript

Finding venues with Foursquare API

Description: This React application is for finding a venue based on your current geolocation and/or indicating the name of the place.

Requirements

You must have installed npm, create-react-app and sass.

Setting up the application

  1. Clone Repository: https://github.com/dulcehc/places-to-go.git

git clone https://github.com/dulcehc/places-to-go.git

  1. Go to the new folder:

cd places-to-go

  1. Install dependencies:

npm install

  1. Get your Client ID and Client Secret keys to use Foursquare API, https://foursquare.com/developers/apps.

  2. Update the api-key.js file located in src/constants/api-key.js

  3. Run the app with npm start

  4. visit http://localhost:3000/

Using the application

  1. You must allow the browser to access your location. image

  2. Search some venue: image

  3. The results will appear on a left menu: image

  4. Choose the Venue for more details: image

  5. Share a place in your social media (Available for Facebook, Twitter and Google Plus):

image

Notes

After some time of using the application, there could be a message of the "The information can't be displayed", this could be due to the rate limit quota, depending of your account from Foursquare. More details, you can check the website https://developer.foursquare.com/docs/api/troubleshooting/rate-limits.