SlideShare a Scribd company logo
1 of 10
SweatDrops
A small work sample
    Hernan Velasquez, Msc, MBA
What’s in here?
Just to show a piece of the work we’ve done here:

 What’s the SweatDrops app?
 How it was conceived?
 Two functionalities samples:
   People’s nearby
   Loading fitness/sports events
SweatDrops
 What’s that?
A social network targeted to sportists, athletes and fitness
lovers. For example you can (not limited):
- Find people with you same interests (i.e. someone who may
  want to jog with you) and follow them.
- Find events near you (i.e. a Triathlon contest in Miami) and
  participate (check in) on those events
 How
With a mobile platform composed by Iphone clients and a
Ruby on Rails Backend
Mini-Architecuture
                                     Deployed on Heroku

                                     Ruby on Rails Backend
              Restful Web Services

                                        MVC RoR app


Sweat App
Objective C




                                             Mysql
                                      Deployed on ClearDB
App’s function example:
           People’s nearby
Want to find somebody around me to run 10 miles in San Francisco?



                                 From the device’s GPS: Lat/Long



                                  Call a secure restful RoR service:




                      Json result with
                      people located
                      near me
A small code sample fragment
                  Technical
The Ruby controller for the people’s nearby web service

                                        Get coordinates from the phone’s GPS
                                        Passed by parameters for this case




                             Use the geo_scope gem to search by lat/long




                                                Refine query (backwards
                                                           compatibility)

                          Render json string
Other App’s functions
                My profile

My name and my network




Sport events I’ve
attended/participated




There’s a RoR restful webservice
for all of these functions.
The heart of the system: The
           events
 The system is conceived around the events.
 Event examples:
   Marin Count Half Marathon, 10K and 5K
   Zumba class by Mihaela Stanciu at San Francisco
   Let’s job for fun in Lake Merced 3 miles
 Why?
   In this world, you build your network over sports/fitness
    events.
How Sweat catches events?
 From the users:




 From third parties via their APIs



     Active.com                   Zumba



          MindbodyOnline.com
Catching events from third
            parties
 Zumba, active.com and MindBody offer APIs to grab
  events from their database
 Using Rails rake:tasks:
   Invoke the webservice
   Insert the events in the database
   Keep track
 Live code for a similar problem:
https://github.com/hernamvel/sfmuniwrapper
Using a webservice to catch data (SF muni routes)

More Related Content

Similar to Ruby on rails work sample

Cse rover-technology-report
Cse rover-technology-reportCse rover-technology-report
Cse rover-technology-reportnagxenapp
 
Robot Operating Systems (Ros) Overview & (1)
Robot Operating Systems (Ros) Overview & (1)Robot Operating Systems (Ros) Overview & (1)
Robot Operating Systems (Ros) Overview & (1)Piyush Chand
 
Robot operating systems (ros) overview & (1)
Robot operating systems (ros) overview & (1)Robot operating systems (ros) overview & (1)
Robot operating systems (ros) overview & (1)Piyush Chand
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSam Ramji
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceApigee | Google Cloud
 
RDF Stream Processing: Let's React
RDF Stream Processing: Let's ReactRDF Stream Processing: Let's React
RDF Stream Processing: Let's ReactJean-Paul Calbimonte
 
Software Development Engineers Ireland
Software Development Engineers IrelandSoftware Development Engineers Ireland
Software Development Engineers IrelandSean O'Sullivan
 
HTML Online Course HTML Course Online online html courses html online training
HTML Online Course  HTML Course Online online html courses html online trainingHTML Online Course  HTML Course Online online html courses html online training
HTML Online Course HTML Course Online online html courses html online trainingEvanta Technologies
 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Jackson F. de A. Mafra
 
Building Your Robot using AWS Robomaker
Building Your Robot using AWS RobomakerBuilding Your Robot using AWS Robomaker
Building Your Robot using AWS RobomakerAlex Barbosa Coqueiro
 
A scalable server architecture for mobile presence services in social network...
A scalable server architecture for mobile presence services in social network...A scalable server architecture for mobile presence services in social network...
A scalable server architecture for mobile presence services in social network...IEEEFINALYEARPROJECTS
 
DOTNET 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for m...
DOTNET 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for m...DOTNET 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for m...
DOTNET 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for m...IEEEGLOBALSOFTTECHNOLOGIES
 
JAVA 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for mob...
JAVA 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for mob...JAVA 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for mob...
JAVA 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for mob...IEEEGLOBALSOFTTECHNOLOGIES
 
Technology stack behind Airbnb
Technology stack behind Airbnb Technology stack behind Airbnb
Technology stack behind Airbnb Rohan Khude
 
Connect js nodejs_api_shubhra
Connect js nodejs_api_shubhraConnect js nodejs_api_shubhra
Connect js nodejs_api_shubhraShubhra Kar
 
JavaScript: The Machine Language of the Ambient Computing Era
JavaScript: The Machine Language of the Ambient Computing EraJavaScript: The Machine Language of the Ambient Computing Era
JavaScript: The Machine Language of the Ambient Computing EraAllen Wirfs-Brock
 

Similar to Ruby on rails work sample (20)

Cse rover-technology-report
Cse rover-technology-reportCse rover-technology-report
Cse rover-technology-report
 
Robot Operating Systems (Ros) Overview & (1)
Robot Operating Systems (Ros) Overview & (1)Robot Operating Systems (Ros) Overview & (1)
Robot Operating Systems (Ros) Overview & (1)
 
Robot operating systems (ros) overview & (1)
Robot operating systems (ros) overview & (1)Robot operating systems (ros) overview & (1)
Robot operating systems (ros) overview & (1)
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile Performance
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile Performance
 
RDF Stream Processing: Let's React
RDF Stream Processing: Let's ReactRDF Stream Processing: Let's React
RDF Stream Processing: Let's React
 
Software Development Engineers Ireland
Software Development Engineers IrelandSoftware Development Engineers Ireland
Software Development Engineers Ireland
 
Saurabh_CV
Saurabh_CVSaurabh_CV
Saurabh_CV
 
Rover report
Rover reportRover report
Rover report
 
Mapping mobile robotics
Mapping mobile roboticsMapping mobile robotics
Mapping mobile robotics
 
HTML Online Course HTML Course Online online html courses html online training
HTML Online Course  HTML Course Online online html courses html online trainingHTML Online Course  HTML Course Online online html courses html online training
HTML Online Course HTML Course Online online html courses html online training
 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015
 
Building Your Robot using AWS Robomaker
Building Your Robot using AWS RobomakerBuilding Your Robot using AWS Robomaker
Building Your Robot using AWS Robomaker
 
A scalable server architecture for mobile presence services in social network...
A scalable server architecture for mobile presence services in social network...A scalable server architecture for mobile presence services in social network...
A scalable server architecture for mobile presence services in social network...
 
DOTNET 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for m...
DOTNET 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for m...DOTNET 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for m...
DOTNET 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for m...
 
JAVA 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for mob...
JAVA 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for mob...JAVA 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for mob...
JAVA 2013 IEEE MOBILECOMPUTING PROJECT A scalable server architecture for mob...
 
Technology stack behind Airbnb
Technology stack behind Airbnb Technology stack behind Airbnb
Technology stack behind Airbnb
 
Connect js nodejs_api_shubhra
Connect js nodejs_api_shubhraConnect js nodejs_api_shubhra
Connect js nodejs_api_shubhra
 
Switch to Backend 2023
Switch to Backend 2023Switch to Backend 2023
Switch to Backend 2023
 
JavaScript: The Machine Language of the Ambient Computing Era
JavaScript: The Machine Language of the Ambient Computing EraJavaScript: The Machine Language of the Ambient Computing Era
JavaScript: The Machine Language of the Ambient Computing Era
 

Ruby on rails work sample

  • 1. SweatDrops A small work sample Hernan Velasquez, Msc, MBA
  • 2. What’s in here? Just to show a piece of the work we’ve done here:  What’s the SweatDrops app?  How it was conceived?  Two functionalities samples:  People’s nearby  Loading fitness/sports events
  • 3. SweatDrops  What’s that? A social network targeted to sportists, athletes and fitness lovers. For example you can (not limited): - Find people with you same interests (i.e. someone who may want to jog with you) and follow them. - Find events near you (i.e. a Triathlon contest in Miami) and participate (check in) on those events  How With a mobile platform composed by Iphone clients and a Ruby on Rails Backend
  • 4. Mini-Architecuture Deployed on Heroku Ruby on Rails Backend Restful Web Services MVC RoR app Sweat App Objective C Mysql Deployed on ClearDB
  • 5. App’s function example: People’s nearby Want to find somebody around me to run 10 miles in San Francisco? From the device’s GPS: Lat/Long Call a secure restful RoR service: Json result with people located near me
  • 6. A small code sample fragment Technical The Ruby controller for the people’s nearby web service Get coordinates from the phone’s GPS Passed by parameters for this case Use the geo_scope gem to search by lat/long Refine query (backwards compatibility) Render json string
  • 7. Other App’s functions My profile My name and my network Sport events I’ve attended/participated There’s a RoR restful webservice for all of these functions.
  • 8. The heart of the system: The events  The system is conceived around the events.  Event examples:  Marin Count Half Marathon, 10K and 5K  Zumba class by Mihaela Stanciu at San Francisco  Let’s job for fun in Lake Merced 3 miles  Why?  In this world, you build your network over sports/fitness events.
  • 9. How Sweat catches events?  From the users:  From third parties via their APIs Active.com Zumba MindbodyOnline.com
  • 10. Catching events from third parties  Zumba, active.com and MindBody offer APIs to grab events from their database  Using Rails rake:tasks:  Invoke the webservice  Insert the events in the database  Keep track  Live code for a similar problem: https://github.com/hernamvel/sfmuniwrapper Using a webservice to catch data (SF muni routes)