- Runbelievable microservice is a RESTful API used for finding hikes in your local area!
- The microservice consumes the Google geocode API and the Hiking Project API to search for a randomized hike in your location
- 'https://run-be-microservice.herokuapp.com/recommend-hikes?location=YOUR LOCATION HERE'
- Utilize query parameters to search by location
- To install Runbeleivable miroservice on your local machine follow these steps in your terminal:
-
get API keys from both Hiking Project and Google GeoCode API and save them.
-
git clone git@github.com:runbelievable/backend_microservice.git
-
bundle
-
Add your private API keys to Google geocode API and the Hiking Project API to a new file, run
touch .env
-
In you .env file, paste in your keys as the values to ENV varibles as shown below:
apiKey: "YOUR HIKING PROJECT API KEY"
GoogleKey: "YOUR GOOGLE GEOCODE API KEY"
- Run RSPEC test sweet and test connection
bundle exec rspec
- You are Ready to Rock and Roll!!
- Alex Gallant: https://github.com/agallant121?tab=repositories
- Pierce Alworth: https://github.com/palworth?tab=repositories