Skip to content

Latest commit

Β 

History

History
48 lines (26 loc) Β· 1.76 KB

README.md

File metadata and controls

48 lines (26 loc) Β· 1.76 KB

πŸ›΄πŸ•΅πŸ»β€β™‚οΈ Scooter Sleuth πŸ›΄πŸ•΅πŸ»β€β™€οΈ

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.

PREREQUISITES & INSTALLATION

  • 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.

USAGE

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.

VIDEO

youtube video

CONTRIBUTING

Alex Hare [GitHub][Linkedin]

Chris Tero [GitHub ]

Joe Tustin [GitHub] [Linkedin]

LICENSE

MIT