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
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 User's 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 FeedItem 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)
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
HELP & SUPPORT