Hello, I need to retrieve a post to populate a user field and also determine if a user has liked the post.
for clarification, I have a post, user, and likes collection
likes collection holds a reference to the user id and post id.
I want to retrieve a list of posts and check if the user has liked the post or not (Restful API) which is necessary for the user interface
please, does anyone knows the best way to go about this?