Closed milkowska closed 1 year ago
Modified code to make the user id equal to user UID that is uniquely created by firebase authentication.
The structure of the users collection has been altered so that each user will have a private collection (if he decides to create one by adding custom recipes) and where private recipes will be saved into. The collection private recipes contains recipe objects that the user enters directly through the application. These are no longer saved into public recipe collection, and the private collection can be viewed on the explore screen by clicking a your recipes button.
The recipes that the user creates need to be saved into a private collection rather than the main recipes collection.