Can anyone tell me if it’s possible to save or retrieve data from Firebase Realtime DB using the Web Component? If so, is there a tutorial on the forum?
Hi dear,
I did some recording tests. Following the example I noticed that when recording he put another different uid that is in Authentication
Firebase Authetication - uid:
Firebase Realtime - different uid
This is the rule I used and I don’t know if it has to do with the different uid
I tried using another rule:
Can someone tell me what I did wrong?
That’s not the UID but a randomly generated unique key.

When a user authenticates, they get a user ID that corresponds to this one.
global_firebase/supermarket/uid.json
Hi… I was just wondering why the Initialize block says "supermerkat while the Web URL says supermarket?
His Firebase project is called supermerkat-3f880, and inside the database, it’s pointing to the supermarket bucket.
I saw this too, but I made the correction.
In this database I will have: People Registration, Products and Brands Registration, Budgets.
In this case, would the Url look like this?
And what would the rule be in realtime?
Always add .json at the end.
You should explain in detail what you would like to achieve.
Would this security rule alone be enough if the writing and reading structure remained like this?
I’ve read about the Realtime rules several times but I get confused when building and which one to use.
If you’ve fixed the code and the key you mentioned now matches the user’s UID, only that user will be able to read/write within that node.
Perfect, Gianluca!
Thank you so much again for your help!
I’ll wrap up this post. I’d like to thank everyone, especially Gianluca, who provided the tutorial on using the web component to read, write, and update Firebase data.
It was a pleasure helping you, I wish you a great day!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.









