User Stories - MatthewLi154/pinature-capstone-project GitHub Wiki
Users
Sign Up
- As an unregistered and unauthorized user, I want to be able to sign up via a sign-up form.
- When I'm on the /signup page:
- I would like to enter my username, email, password, first name, last name to create a profile
- I would like the website to log me in upon successful completion of the sign-up form.
- When I enter invalid data:
- I would like to see validations to see which sections I've failed to input correctly
Login
- As a registered and unauthorized user, I want to be able to log in to the website through a login form.
- When I'm on the /login page:
- I would like to log in using my email and password in a clear laid out form
- I would like to see validations to see if I've put in incorrect credentials
Profiles
Create Profile
- Upon signing up, I would like to have a default profile that I can update if I wish
View Profile
- As a logged in user, I want to view my profile by clicking on my account button
- When I'm on my profile page, I want to see my personal information and the pins I've created/saved
- I want to be able to view other user's profiles by clicking on their profile
- When I'm on another user's profile, I want to be able to see their created/saved pins and boards
Edit Profile
- As a logged in user, I want to be able to update my profiles image, biography, pronouns
Delete Profile
- As a logged in user, I want to be able to delete my profile and all of the corresponding pins and pin boards so it becomes inaccessible to everyone
Pins
Create Pins
- As a logged in user, I want to be able to post a new pin.
- When I'm on the /pin/new page:
- I can create a pin by submitting details and uploading an image
Viewing Pins
- As a logged in user, I want to be able to view pins from other users
- When I'm on the /pins page:
- I can view pins and be able to navigate to individual pin pages by clicking on them
Updating Pins
- As a logged in user, I want to be able to edit my created pins by clicking an edit button associated with the created pin
- When I'm on the /pins/:id/edit page:
- I can edit a pin's description/ title/ tags so that I can fix any errors I make in the creation
Deleting Pins
- As a logged in user, I want to be able to delete my pin by clicking a delete button
Boards
Create Boards
- As a logged in user, I want to be able to make a pin board that is a collection of saved/created pins
Viewing Boards
- As a logged in user, I want to be able to view other users or my personal pin board
- When I'm on the /board or /user/board:
** I can view my or other user's pin boards that they saved or created
Editing Boards
- As a logged in user, I want to be able to edit my board name and description that I've made
Deleting Pin Boards
- As a logged in user, I want to be able to delete any board I've created by clicking a delete button