I'm trying to implement a "likes" function for a social media application and was wondering if anyone has any good ideas for storing which users have liked the post...
I will recommend you store them like documents in the collection (inside firebase firestore), add a field name like or not like (boolean), I hope this help
Are the posts being saved in a collection where each post is a different document? If so, maybe just add a field on the posts that saves the user IDs of people that like the post.