Given User
and Tweet
models, how would you structure RESTful urls for the following information:
-
a list of a given user's tweets
-
a list of a given user's followers
-
a list of a given user's feed (a combination of multiple users)
What would backend methods (you can use pseudocode) look like for each of these?