Login required for access
In order to watch this lesson, you'll need to login to the website.
Home Feed with FeedItem
Fullstack Social iOS NodeJS REST
In order to view this lesson, you must purchase this course.
Now that our system is built with the capability of keeping track of following and followers for each user, it's time to move onto building out a <b>User's</b> feed. In short, a user's feed will consist of the posts that belong to themselves as well as users that they're following. Keep in mind that we'll need to make sure their feed is rendered in descending timestamp order. To built out a feed, its useful to declare a new model object called <b>FeedItem</b> that keeps track of all items belonging to a user's feed. The properties we declare on FeedItem will make it easy to query and populate for displaying UI elements in the browser.

Comments (2)
Christopher J. Roura
3 years ago
kencord11
4 years ago
Brian Voong
4 years ago
kencord11
4 years ago
Brian Voong
4 years ago
kencord11
4 years ago
Brian Voong
4 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.
HELP & SUPPORT