Answers for "javascript write to firebase"

1

javascript write to firebase

function writeUserData(userId, name, email, imageUrl) {
  firebase.database().ref('users/' + userId).set({
    username: name,
    email: email,
    profile_picture : imageUrl
  });
}
Posted by: Guest on August-25-2020
0

write firebase data using variables javascript

foo = {}; 
foo[variable] = 'more stuff'; 
fb.set(foo);
Posted by: Guest on July-27-2020

Code answers related to "javascript write to firebase"

Code answers related to "Javascript"

Browse Popular Code Answers by Language