-
Notifications
You must be signed in to change notification settings - Fork 0
User Story
Kyrene Flores edited this page Jan 30, 2024
·
2 revisions
- Users
- Sign Up
- As an unregistered and unauthorized user, I want to be able to sign up for the website via a sign-up form.
– When I’m on the `/signup` page: - I would like to be able to enter my email, username, and preferred password on a clearly laid out form.
- I would like the website to log me in upon successful completion of the sign-up form, so that I can seamlessly access the site’s functionality.
- When I enter invalid data on the sign-up form:
- I would like the website to inform me of the validations I failed to pass, and repopulate the form with my valid entries (except my password), so that I can try again without needing to refill forms I entered valid data into.
- Log In
– When I’m on the `/login` page:
- Demo User
– When I’m on either the `/signup` or `/login` pages:
- Log Out
– While on any page of the site:
- 1. Songs
- Create Songs
- As a logged in user, I want to be able to post new Songs.
– When I’m on the `/new-song` page: - I can write and submit a new Song so that I can share my thoughts and memes with my friends.
- Viewing Songs
– When I’m on the `/Songs` page:
– As a logged in or logged out user, I want to be able to view a specific Songs and its associated SongComments and SongLikes.
- Updating Songs
– When I’m on the `/songs`, `/songs/:id`, or `/users/:id/songs` pages:
- Deleting Songs
– When I’m on the `/Songs`, `/Songs/:id`, or `/users/:id/Songs` pages:
- 2. Comments
- Create Comments
- As a logged in user, I want to be able to post new comments.
– When I’m on the `/songs` page: - I should be able to click on the “create comment” button.
- I can write and submit a new comment on a Song, so that I can share my comments with my friends about that Song.
- Viewing Comments
– When I’m on the `/songs` page:
- Updating Comments
– When I’m on the `/songs/:id`, or `/users/:id/songs` pages:
- Deleting Comments
– When I’m on the `/songs/:id`, or `/users/:id/songs` pages: