Created
April 5, 2018 10:51
-
-
Save alexsanchezdev/2c25569b36a8220916342bd6b62cf136 to your computer and use it in GitHub Desktop.
Firebase Initialization
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
export const firebaseConfig = { | |
apiKey: "API_KEY", | |
authDomain: "AUT_DOMAIN", | |
databaseURL: "DATABASE_URL", | |
projectId: "PROJECT_ID", | |
storageBucket: "STORAGE_BUCKET", | |
messagingSenderId: "SENDER_ID" | |
} |
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
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