Citi Bike Finder
-
Upload
flatiron-school -
Category
Technology
-
view
69 -
download
2
description
Transcript of Citi Bike Finder
Citi Bike Finder
Amy Johnson & Kyle Doherty
Dock Blocked
Blue Biked
Requested Solution
Trip planner that suggests starting and end locations based
on historical data
Realistic Goals
Sinatra using Citi Bike JSON Feed
Search for nearby stations
Google Maps API for directions
Demo
JSON
JSON
Parser
HTTPartyObject
JSON Parser
Station(Geocoder gem)
Station
Builder
Controller
Station(Geocoder gem)
Name&
Location
Controller
Station
(Geocoder gem)
Name&
Location
- Station Name- Location
Station
Refresher
- # of Bikes- # of Docks
- Station Name- Location- # of Bikes- # of Docks
Directions with the
Google Maps API
What You Need...
1. Directions Renderer Object
• new google.maps.DirectionsRenderer();
2. Directions Service Object
• new google.maps.DirectionsService();
Directions Renderer• new google.maps.DirectionsRenderer();
views/stations/directions.erb
Directions Service• new google.maps.DirectionsService();
views/stations/directions.erb
Directions Renderer• new google.maps.DirectionsRenderer();
Next Steps
Rails App
Write Tests & Refactor
Create prediction model
Optimize DB calls
Use caching to speed up responses
Amy Johnson - github.com/amyrjohnsonKyle Doherty - github.com/kylefdoherty
Project Repo - github.com/kylefdoherty/citi-bike-search