-
-
Save liamr/89a3c770b155c42fcf937e5b85773483 to your computer and use it in GitHub Desktop.
Firebase Web SDK Scratch Pad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<body> | |
<script src="https://www.gstatic.com/firebasejs/6.0.4/firebase-app.js"></script> | |
<script src="https://www.gstatic.com/firebasejs/6.0.4/firebase-database.js"></script> | |
<script> | |
// TODO: Replace the following with your app's Firebase project configuration | |
var firebaseConfig = { | |
apiKey: "", | |
authDomain: "", | |
databaseURL: "", | |
projectId: "", | |
storageBucket: "", | |
messagingSenderId: "", | |
appId: "" | |
}; | |
// Initialize Firebase | |
firebase.initializeApp(firebaseConfig); | |
async function run() { | |
// var ref = firebase.database().ref('tests/web/orderByChild'); | |
// await ref.set({ | |
// a: 'foo', | |
// b: 'bar', | |
// c: 'baz', | |
// }); | |
} | |
run(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment