User Stories - adamLovettApps/solo-project-0521 GitHub Wiki

Users

Sign Up

  • As an unregistered user, I want to be able to register an account, so I can log in and create albums, upload photos, favorite photos, and follow other users.
  • To sign up, I will be directed to the dedicated sign up page where a form will collect basic information - username, password, and email.

Secure Sign In

  • As a registered user, I will be able to sign in using my username and password or email and password.
  • I will have a modal displayed to me to sign in.
  • My password should be matched against a salted and hashed password on the user table.

Failed sign in

  • If no username or password match the database entries, I will be redirected to the same route with an error message.

Albums

Create Albums

  • As a logged in user, I should be able to create an album to store photos.

Delete Albums

  • As a logged in user, I should be able to delete an album of photos that I own.

Modify Albums

  • As a logged in user, I should be able to change the name of an album of photos that I own.

Photos

View Photos

  • As a logged in user or un-logged in user, I should be able to see a sampling of recent photos.

Upload photos

  • As a logged in user, I should be able to upload photos to albums that I own.

Delete Photos

  • As a logged in user, I should be able to delete photos from albums that I own.

Comments

View Comments

  • As a logged in user or un-logged in user, I should be able to see comments on photos.

Make Comments

  • As a logged in user, I should be able to comment on photos.

Delete Comments

  • As a logged in user, I should be able to delete comments that I have made on photos.

Edit Comments

  • As a logged in user, I should be able to edit comments that I have made on photos.

Tags

Display by Tag Name

  • As a logged in or un-logged in user, I should be able to display photos by tag name.

Add Tags

  • As a logged in user, I should be able to add tags to photos I own.

Remove Tags

  • As a logged in user, I should be able to remove tags from photos I own.

Favorites

Add Favorite

  • As a logged in user, I should be able to favorite photos from all users.

Remove Favorite

  • As a logged in user, I should be able to remove favorites from photos that I favorited previously.

View by Favorite

  • As a logged in user, I should be able to see all photos I have favorited displayed to me.

Follows

Add Follow

  • As a logged in user, I should be able to follow other users.

Remove follow

  • As a logged in user, I should be able to unfollow users that I have followed previously.

View by Follow

  • As a logged in user, the landing page should display photos from users that I have favorited rather than a sampling of all photos from the site.