I have a application which works on Firebase Database.After successfull Login of a user created in Firebase using Firebase Auth user is saving some data in Firebase.The requirement is I need to add the data POST by that user with some key to identify data.
[
{
"key":"Satyam",
"value":"some data"
},
{
"key":"Akash",
"value":"some data"
},
{
"key":"Yash",
"value":"some data"
}
]
Suppose user Satyam has login using credentials of Firebase Auth,so data POST by Satyam need to be added in database where key is Satyam. How to achieve this ?
FirebaseAuthfor creating account of user.Suppose a user Log in with credentials and adding some data to database. I should be able to understand that data is added by that specific user.I am thinking of identifier as aKeyin JSON return by Firebase database when data is returned.