I'm really new to firebase. I've been reading similar topics here but I still don't get it.
Here's what I'm trying to do:
- I'm making a simple authentication with email + password + username. And I store the usernames on my database (please see the image) (https://i.stack.imgur.com/eQxZM.png)
I made the parent key to uid and the key: value both to username cause I read that if you do that it'll not allow same keys but I don't understand, it still overwrites the key and values
My Firebase rules is set to read write true cause this is just a sample project. I hope someone can help me. Thanks!!