We put a man on the moon but still need to switch between apps to find the closest electric scooter. Not anymore!! Scooter Sleuth aggregates scooter share apps into one map rendered based on the users location and available scooters.
- Fork π΄
- Clone
bundle install
rails db:migrate
The app uses api keys which are stored within the encrypted Rails files. Contact the team for access.
To find scooters close to you, first sign into that app by creating a new user.
Select the scooters that you want by checking and unchecking the respective boxes. This tells the π΄π΅π»ββοΈ Scooter Sleuth π΄π΅π»ββοΈ which companies too sleuth.
Upon entering the address of your current location we verify it via the MapQuest API endpoint. If the address isn't accurate enough we will ask you to try again.
Once the address is verified it will be converted into GPS coordinates. The coordinates are then sent to each scooter company in the form of an API request.
After receiving all of the available scooters are found we determine which scooters are closest by using the Haversine formula.
Then rendering those scooters on the map.
Alex Hare [GitHub][Linkedin]
Chris Tero [GitHub ]
Joe Tustin [GitHub] [Linkedin]