... | ... | @@ -75,16 +75,16 @@ Well, first these two. |
|
|
* Weak point and improvement for the fakeStream:
|
|
|
1. Changing the functionality of Retwis
|
|
|
1. Add a Retweet function:
|
|
|
* post part: "Shared by" + PreviousUser's Username + OldPost
|
|
|
* every post need to have one more field, originPostId
|
|
|
* origin post originPostId = new generated id
|
|
|
* retweet post originPostId = OldPost.originPostId
|
|
|
* post part: "Shared by" + PreviousUser's Username + OldPost
|
|
|
* every post need to have one more field, originPostId
|
|
|
* origin post originPostId = new generated id
|
|
|
* retweet post originPostId = OldPost.originPostId
|
|
|
2. Every post need to have a list to keep track of the person who retweet this post
|
|
|
3. Add a Favorite function:
|
|
|
* every post need to have a list to keep track of the person who favorited the post
|
|
|
* every post need to have a list to keep track of the person who favorited the post
|
|
|
4. Whenever user access the timeline, need to show each post:
|
|
|
* who retweeted the list
|
|
|
* who Favorited the list
|
|
|
* who retweeted the list
|
|
|
* who Favorited the list
|
|
|
2. Add the operation in the fakeStream that user can read their timeline
|
|
|
* in order to performance some read operation for database
|
|
|
3. Need to reconfigure the follow operation so that the user need to follow others in a function
|
... | ... | |