Another thing I am trying to achieve is to give the user the possibility to save some favorite items from the collection so these favorites are shown in the first screen after login.
I have created a collection in Firebase named “users” and I have created users with the UID from the authentication section. The items to be saved as favorites are placed in a different collection and I am not sure how to create that connection. I thought about creating an icon in the UI that has 2 states depending if it is true or false the fact that it is favorite.
Also I believe that within each item in the collection there has to be a collection with all UID from each user so it says that particular item is favorite or not. But I don’t know exactly how to proceed with that link or reference and how to make it in React Studio.