Skip to content

Instantly share code, notes, and snippets.

@captaincole
Created February 27, 2018 21:34
Show Gist options
  • Select an option

  • Save captaincole/b8e0a6575ced79fd69ad0e2df98c64c0 to your computer and use it in GitHub Desktop.

Select an option

Save captaincole/b8e0a6575ced79fd69ad0e2df98c64c0 to your computer and use it in GitHub Desktop.
<script src="https://www.gstatic.com/firebasejs/4.10.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "<api-key>",
authDomain: "<authDomain>",
databaseURL: "<databaseUrl>",
projectId: "<project-id>",
storageBucket: "<storage-bucketid>",
messagingSenderId: "<sender-id>"
};
firebase.initializeApp(config);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment