Use Case 7 Domain Object related to another Domain Object - lkacoy/webdev-cs5610-project GitHub Wiki

We can add comments to blog posts. To do this, the user must be logged in and can be either a writer or a follower. Let's use Charlie as an example.

Log in as Charlie. This will redirect Charlie to his Profile page. Click on the Home link at the bottom of the Profile page. This will redirect you to the project's Home page. Click on "bob" in the "Blog Writers" section. This will navigate Dan to a list of posts written by Bob. Click on any post written by Bob by selecting the post name. This will open up the individual post. Charlie will see a text area that will be enabled. He can write anything in this text area. If he wants to clear the text area, he should click the red button below it. Enter "This is my first comment". Click the green add button below the text area. This will add the comment to the database and reload the browser. When the browser reloads, it will re-display the blog post as well as the updated list of comments, including Charlie's comment titled "This is my first comment".