So I’m somewhat new to Ember and I’m looking to build a sort of social network app. I’ve managed to get Ember Data syncing up with my API (written to conform to JSON-API). Looking up records and handling relationships all works great. But now I’ve gotten to building the News Feed section and I’m stuck.
What would be the “Ember Way” to fetch a user’s news feed, and populate it with - say - Post models in Ember Data? I can only seem to query Ember Data to get all Posts, which is no good for me. I need to call an API route that has a personalised list of Posts, potentially not in sequential order. Do I need to create a new model? I’ve got no idea where to start.
Any help would be greatly appreciated!