-
Notifications
You must be signed in to change notification settings - Fork 3
User Stories
Guoxin (Cindy) Li edited this page Apr 25, 2024
·
1 revision
- 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 modal:
- 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.
- When I'm on the signup modal:
- As a registered and unauthorized user, I want to be able to log in to the website via a log-in form.
- When I'm on the login modal:
- I would like to be able to enter my email and password on a clearly laid out form.
- I would like the website to log me in upon successful completion of the log-in form.
- So that I can seamlessly access the site's functionality
- When I enter invalid data on the log-in 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.
- 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).
- When I'm on the login modal:
- As an unregistered and unauthorized user, I would like to visit the site as a demo user without signing up or logging in.
- When I'm on the login modal:
- I can click on a Demo User button to log me in and allow me access as a normal user.
- So that I can test the site's features and functionality without needing to stop and enter credentials.
- I can click on a Demo User button to log me in and allow me access as a normal user.
- When I'm on the login modal:
- As a logged in user, I want to log out via an easy to find log out button on the navigation bar.
- While on any page of the site:
- I can log out of my account and be redirected to the home page.
- So that I can easily log out to keep my information secure.
- I can log out of my account and be redirected to the home page.
- While on any page of the site:
- As a logged in or logged out user, I want to be able to view a selection of the songs.
- When I'm on the
/songspage:- I can view the ten most recently uploaded songs.
- I can also view the duration and likes of the songs.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a selection of the albums.
- When I'm on the
/albumspage:- I can view the ten most recently created albums.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a specific album and all the songs belong to this album.
- When I'm on the
/albums/:idpage:- I can view the information of the album as well as the associated songs.
- I can also view the duration and likes of the songs.
- When I'm on the
- As a logged in user, I want to be able to upload new songs.
- When I'm on the
/songs/newpage:- I can upload a new song.
- When I'm on the
- As a logged in user, I want to be able to create a new album.
- When I'm on the
/albums/newpage:- I can create a new album.
- When I'm on the
- As a logged in user, I want to be able to update my songs by clicking an Update button.
- When I'm on the
/users/current/songspages:- I can click "Update" to make changes to the songs I have uploaded.
- When I'm on the
- As a logged in user, I want to be able to update my albums by clicking an Update button.
- When I'm on the
/users/current/albumspages:- I can click "Update" to make changes to the albums I have created.
- I can add or remove songs I uploaded from the albums.
- I can click "Update" to make changes to the albums I have created.
- When I'm on the
- As a logged in user, I want to be able to delete my songs by clicking a Delete button.
- When I'm on the
/users/current/songspages:- I can click "Delete" to permanently delete a song I have uploaded.
- When I'm on the
- As a logged in user, I want to be able to delete my albums by clicking a Delete button.
- When I'm on the
/users/current/albumspages:- I can click "Delete" to permanently delete an album I have created.
- When I'm on the
- As a logged in or logged out user, I want to be able to view likes of the songs.
- When I'm on the
/songsor/albums/:idpage:- I can view total likes of the songs.
- When I'm on the
- As a logged in user, I want to be able to like or unlike a song by clicking a heart button.
- When I'm on the
/songsor/albums/:idpage:- I can like or unlike the songs.
- When I'm on the
- As a logged in user, I want to be able to play songs by clicking a play button.
- When I'm on the
/songsor/albums/:idpage:- I can play the songs.
- When I'm on the
- As a logged in or logged out user, I want to be able to search for songs by clicking the search button on the header.
- When I'm on any page of the site:
- I can click the search button to search for songs or albums.
- When I'm on any page of the site: