/friendzone

RoR application that authenticates using Foursquare and OAuth 2.0, encrypts and stores user access tokens, and determines users’ local time based on standard TZIDs converted from geographic coordinates

Primary LanguageRuby

friendzone logo

Friendzone allows you to see your Foursquare friends' location and local time based on their time zone. Demo

Built with:

Description

The app uses the Google Geocoding API to obtain a user's coordinates and the Time Zone API to get their Time Zone ID (defined by Unicode Common Locale Data Repository (CLDR) project). Finally, the TZInfo gem is used to determine the current local time with the Time Zone ID.

Usage Instructions

Users authenticate with their Foursquare accounts. Once authorized, the app imports the user's and their friends' data from Foursquare in order to display their home cities and local time.

Screenshots

Home page when not logged in: home

Friends in various time zones, shows name and location when hovered: friends

Future

Currently, the app uses a static attribute (home city) from Foursquare's user data, instead of dynamic location data (check ins), which requires each individual user's authorization. Dynamic location display is currently being implemented, along with a mobile app using React Native.

Acknowledgement

Design Inspiration: