Skip to content

corujitoam/geofotr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geofotr

Project link

Minimum Viable Product

Geophotr is a clone of Flickr built on Rails and Backbone. Users can:

  • Create accounts
  • Create sessions (log in)
  • Upload photos
  • Specify latitude/longitude for photo uploads via UI
  • View geotagged photos on map
  • View individual photos
  • Follow other users
  • View public feed without logging in
  • View public map without logging in
  • View a feed of individual photos from followed users (including public photos)
  • 'Like' button for signed-in users
  • 'Like' counter on all photos

Design Docs

Implementation Timeline

Phase 1: User Authentication, Basic Photo creation (~1 day)

Implement user authentication in Rails based on the practices learned at App Academy. Make users and photos controllers. Users will be unable to actually upload photos; they will be able to upload captions and urls. Eventually the url field of the photos model will link to assets on AWS.

Details

Phase 2: JSON API and First Backbone Views (~2 days)

Add API routes to serve photo data as JSON, then add Backbone models and collections that fetch data from those routes. Add Backbone views for 'PhotoShow' and 'PhotoIndex'. By the end of this phase, the existing Rails views will have been ported over to Backbone. Authentication will remain server-side. I will start figuring out how to use CarrierWave and Amazon S3.

Details

Phase 3: Photo Uploads (~2 days)

Make photo uploads happen. I'm hoping to do it with a generic file-select dialog box--hopefully without Filepicker, but instead with CarrierWave and AWS. I found some RailsCasts on the subject; hopefully it will all work.

Details

Phase 4: Photo Feeds (~1-2 days)

Develop the 'PhotoIndex' Backbone view to serve three purposes: display all public photos (for non-logged-in users); paginate/limit somehow? display followed users' photos (for logged-in users). display a user's photos (the "profile" page). need two different collections to do this? the logged-in/not logged-in will hit the same Rails route (Photos#index); user's photos will hit Users#show

Details

Phase 5: Google Maps/EXIF Data (~2 days)

Try to incorporate Google Maps API to locations for photos (either public or followed). Ideally will be able to click on a photo and go to PhotoShow view, but I'd settle for manually setting lat/long for photos.

Details

Bonus Features (TBD)

  • Tag photos
  • users can view all of their liked photos
  • users can set their profile picture thumbnail
  • map displays medium size photo
  • users enter text location and auto-convert to lat/long for map display
  • Pagination
  • Search for photos by title
  • Search for photos by tag
  • Reblogging
  • Custom urls for photos
  • Support for multiple open sessions

About

photo-sharing site that stores geolocation info

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.2%
  • Ruby 36.1%
  • CSS 12.1%
  • HTML 7.3%
  • CoffeeScript 1.3%