User Stories - nathan-mac/Feedit GitHub Wiki
1. Home Page
When I'm on the /
page:
- As a not logged in user
- I should be able to view all posts on the site ordered by most recent.
- I should be able to click the
Login
orRegister
links to go to the respective pages.Login
should redirect to/login
where I should be able to log in with my username and password.- I should be logged in and redirected to the
/
page after successful login.
- I should be logged in and redirected to the
Register
should redirect to/register
where I should be able to register with a username, email, password, and confirmation password.- I should be logged in and redirected to the
/
page after successful login.
- I should be logged in and redirected to the
- As a logged in user
- I should be able to view all posts matching my subfeedits ordered by most recent.
- I should be able to go to my profile.
- I should see links to navigate to the subfeedits that I am subscribed to.
- I should be able to use the
Logout
link to log out.
2. Subfeedits
When I'm on the /:subfeedit
page:
- I should be able to view all posts matching the subfeedit ordered by most recent.
- As a logged in user
- I should be able to subscribe to the subfeedit with a button.
3. Posts
When I'm on the /:subfeedit/:postId
page:
- I should be able to view the content of the post.
- As a logged in user
- If I own the post
- I should be able to edit or delete my post
- I should be able to make comments on the post.
- I should be able to edit or delete my own comments later.
- I should be able to upvote or downvote the post.
- If I own the post
- I should be able to navigate back to the subfeedit.
4. Search
When I'm on any page:
- I should be able to use the search bar.
- Submitting a search query should take me to the
/search&q=:query
page and display relevant results with links on that page.