Enhancing Restaurant Discovery with RateMe: A Comprehensive Mobile App Concept
RateMe 2.0 is a mobile web application designed to empower users to search and rate restaurants easily. This concept utilizes HTML5 geolocation and integrates with Qype API for seamless user-generated content. Users can upload images, write reviews, and get location-based recommendations through Google Maps API. The project highlights the importance of OAuth for secure API authentication. By leveraging RESTful services and identifying locations based on addresses, categories, and geodata, RateMe 2.0 aims to revolutionize how diners discover local eateries.
Enhancing Restaurant Discovery with RateMe: A Comprehensive Mobile App Concept
E N D
Presentation Transcript
RateMe 2.0 10-25 Slides
Konzept RateMe 1.0 RateMe 2.0
Konzept • Suchen und Bewerten von Restaurants • Mobile Webseite • Benutzen von HTML5 Geolocation
Learnings • Qype API • Oauth (API Authentication) • Google MapsAPI (jQueryPlugin) • RESTful und Routes • User-generatedContent • Mobileapp
Qype API • Liefert Standorte abhängig von • Adresse • Kategorie • Name • Geodaten • Bewertungen möglich • Bilder hochladen • Wird von Google verwendet
http://farm2.static.flickr.com/1259/1092087510_d61a7dcc85_o.pnghttp://farm2.static.flickr.com/1259/1092087510_d61a7dcc85_o.png Warum Oauth?
Password Anti-Pattern • Passwords are not confetti • Pleasestopthrowingthemaround
Was ist Oauth? • Ein simpler offener Standard für sichere API Authentifizierung
Oauth Begriffe • EndUser • ProtectedResource • Service Provider • Consumer • Tokens
The Love Triangle Enduser Service Provider Consumer Application
Oauth Rails Code consumer = OAuth::Consumer.new('api_key', 'api_secret', { :site => "http://api.qype.com" }) request_token = consumer.get_request_token redirect_to @request_token.authorize_url access_token = request_token.get_access_token request = request_token.request(:get, ‚/place/1234')
Demo • Need tologin • Login withserviceprovider • Authorize • Done