Skip to content

Instantly share code, notes, and snippets.

@jesse-spevack
Last active September 9, 2016 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesse-spevack/39f6886acf9414a60688cdd1a13d3214 to your computer and use it in GitHub Desktop.
Save jesse-spevack/39f6886acf9414a60688cdd1a13d3214 to your computer and use it in GitHub Desktop.

Original Idea

Family Photo Sharing Site - www.spevacktwins.com

Description

Create an app where users can favorite and comment photos.

Photos

(Photos have many comments, belong to many favorites)

Favoriting

(Users have many Favorites)

  • Regular users can mark a photo as "favorite"
  • Regular users can see a list of photos they've marked as favorites.
  • Regular users cannot delete a photo; they can only "unfavorite" it for themselves.
  • Regular users should be able to see all photos sorted by date.
  • Regular users should be able to see all favorited photos sorted by date.
Commenting

(Users have many Comments)

  • Regular users can add comments to a photo
  • Regular users can see a list of comments attached to each photo (on the photo/id/show)
  • Regular users can CRUD their own comments and Read other user comments
Authentication and Authorization
  • Users need to log in to see their favorited photos
  • Users need to log in to add, edit, and delete comments (their own)
  • Users cannot create favorites or comments for other users
  • users cannot create new photos (next iteration)
  • visitors can create user accounts
Optional Extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment