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