Login required for access
In order to watch this lesson, you'll need to login to the website.
Follow Users with Association Collection
Fullstack Social iOS NodeJS REST
In order to view this lesson, you must purchase this course.
Now that we have our navigation system built out and our users being displayed, we'll move onto performing the follow functionality. Doing this is quite easy with the power of our Vue framework and functions in our methods block. On the server side of things, we'll add to a 'following' collection through association using User.addToCollection(...). Once we've followed a user, I'll show you how to populate our collection called "following" and display it in raw JSON with a /profile route.

Comments (3)
omq78
4 years ago
David EJ
4 years ago
Brian Voong
4 years ago
Brian Voong
4 years ago
Dustin Doosun Yang
5 years ago
Brian Voong
5 years ago
Dustin Doosun Yang
5 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.
HELP & SUPPORT