Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Dylan0916/ee0322ce02e529e830be1c353adfe6cf to your computer and use it in GitHub Desktop.
Save Dylan0916/ee0322ce02e529e830be1c353adfe6cf to your computer and use it in GitHub Desktop.
<button onclick="setData()">set</button>
<script>
function setData() {
firebase.database().ref('user-datas').set({
username: 'dylan',
email: 'xxx@xxx.com'
});
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment