Skip to content

Instantly share code, notes, and snippets.

@alexsanchezdev
Created April 5, 2018 10:51
Show Gist options
  • Save alexsanchezdev/2c25569b36a8220916342bd6b62cf136 to your computer and use it in GitHub Desktop.
Save alexsanchezdev/2c25569b36a8220916342bd6b62cf136 to your computer and use it in GitHub Desktop.
Firebase Initialization
export const firebaseConfig = {
apiKey: "API_KEY",
authDomain: "AUT_DOMAIN",
databaseURL: "DATABASE_URL",
projectId: "PROJECT_ID",
storageBucket: "STORAGE_BUCKET",
messagingSenderId: "SENDER_ID"
}
import * as firebase from 'firebase';
import { firebaseConfig } from './config'
firebase.initializeApp(firebaseConfig);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment