Use Case 4 View Domain Objects related to a user - lkacoy/webdev-cs5610-project GitHub Wiki
Shares
To do this, the user must be logged in, but can be either a Blog Writer or a Blog Follower. For this example, I will use Alice.
Log in as Alice (Blog Follower). She will be redirected to her Profile page. Click on "View Shared Posts". This will direct Alice to a page that shows all of the posts that she has shared (the share collection in Mongo). It will show the name of the post (with a link to that post), the author of the post, and the date she shared it.
Blog Posts
To do this, the user must be logged in and must be a Blog Writer. I will use Bob for this example.
Log in as Bob. He will be redirected to his Profile page. At the bottom of the Profile page, Bob will see a "View My Posts" link. If he clicks on that link, he will navigate to a page that shows the lists of posts he has written. This will also show the status of the post (whether it has a draft or published). It will also provide a link to the individual post that can be executed by clicking on the post name.