I created an app where I must show data according to whether current user follows post publisher or not. For example, if user A follows user B show B's posts to A. My current firestore db structure provided below:
Users (collection) -> userId (document) -> Following (collection) -> followingUserId (document)
I just want to know how I can show only posts from followed users. Your db structure suggestions is highly appreciated also. Thanks in advance
DB images: