LivingStories-DevTeam / Living-Stories-App

4 stars 1 forks source link

Identify places in code where actions we count as "Activity" is perofmed. #65

Closed yavuzsa closed 1 year ago

yavuzsa commented 1 year ago

Since we decied to have an Activity table, we must write to this activity table in places where an activity is performed. This issue covers identification of the places where an activity is performed according to our activity definition. Things we consider as activity are: Likes, Comments, Stories, New User Follows by the followed users.

yavuzsa commented 1 year ago

Related to issue #64 [Creation of Activity Entity]

BurakKocak99 commented 1 year ago

For each action the following functions needs to be edited!

Post: StoryController/createStory function

Like: StoryController/likeStory function (check if it is "User liked story!")

Comment: CommentController/addCommentToStory function

Follow: UserController/followUser function