Had to watch this 4 times, but finally got it. Its so simple really. Data goes in, data comes out. I was working with Claude to do it with code and was so tiring and useless.
Great tutorial. The only thing i would be aware of when creating references like this, is the amount of queries you make. The cost will increase and not be scaleable. This is because you apply normalization logic from SQL to a noSQL database. I would advise when using firestore to denormalize the data, even though it creates more maintenance. Essentially duplicating your data multiple places to minimize read/write costs.
Thanks for the insight! Really great point, definitely something to fix if this data where to be used multiple times in the app by a user. And/or if the app has no limit on the number of items in the sub-list. Should have mentioned this in the video. Will mention this in my next video. However, if someone is building a relatively small/medium sized app and they have a limit on how many documents your app will allow in the users sub-list. Then it is not that big of a deal. For example I use this method for associating "members" (user documents) in a team document for my awsme ai app. A team normally has between 0-3 team members, so not really affecting the cost at all.
Here is a more in depth video about firestore security rules: ua-cam.com/video/VUxgra9yISQ/v-deo.htmlsi=2gwqGlyHzIbkhYYR It could be a while before I upload a video about revenuecat since I always use strip for subscriptions.
Great tutorial! but I think if an item has already been added to the favorites list and user clicks on add to favorite again, we remove the item from the fav list and update the fav icon color. So can I go about that?
Here is my most recent videos on this (I show some real applications of cloud functions and breifly how the work): ua-cam.com/video/43LHq8-AxGg/v-deo.htmlsi=pTvgPF-b9Wn4oz5a And here is a other tutorial on youtube, showing more in detail how a cloud fucntion works: ua-cam.com/video/9JsR0aqA9K0/v-deo.htmlsi=1TFmm-GMzm7ATjHS
Had to watch this 4 times, but finally got it. Its so simple really. Data goes in, data comes out. I was working with Claude to do it with code and was so tiring and useless.
Great tutorial. The only thing i would be aware of when creating references like this, is the amount of queries you make. The cost will increase and not be scaleable.
This is because you apply normalization logic from SQL to a noSQL database. I would advise when using firestore to denormalize the data, even though it creates more maintenance.
Essentially duplicating your data multiple places to minimize read/write costs.
Thanks for the insight! Really great point, definitely something to fix if this data where to be used multiple times in the app by a user. And/or if the app has no limit on the number of items in the sub-list. Should have mentioned this in the video. Will mention this in my next video.
However, if someone is building a relatively small/medium sized app and they have a limit on how many documents your app will allow in the users sub-list. Then it is not that big of a deal.
For example I use this method for associating "members" (user documents) in a team document for my awsme ai app. A team normally has between 0-3 team members, so not really affecting the cost at all.
can you please make a more in depth video on firestore rules? also IAP/subscriptions with revenuecat? thanks!
Here is a more in depth video about firestore security rules: ua-cam.com/video/VUxgra9yISQ/v-deo.htmlsi=2gwqGlyHzIbkhYYR
It could be a while before I upload a video about revenuecat since I always use strip for subscriptions.
Great tutorial! but I think if an item has already been added to the favorites list and user clicks on add to favorite again, we remove the item from the fav list and update the fav icon color. So can I go about that?
You can in the icon click logic check if the current item is already in your fav list, and based on that either remove it or add it.
Shows how to use Cloud Functions within FLutterflow?
Great suggestion, can try and upload a video about cloud function in the near future.
Here is my most recent videos on this (I show some real applications of cloud functions and breifly how the work): ua-cam.com/video/43LHq8-AxGg/v-deo.htmlsi=pTvgPF-b9Wn4oz5a
And here is a other tutorial on youtube, showing more in detail how a cloud fucntion works: ua-cam.com/video/9JsR0aqA9K0/v-deo.htmlsi=1TFmm-GMzm7ATjHS
@@leomcmillion Thank you my friend ;)