Created
March 18, 2019 10:49
-
-
Save RouillerRomain/8da4d21a7efe3658b3dbd130f67440f1 to your computer and use it in GitHub Desktop.
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 firebase from 'firebase/app'; | |
import 'firebase/firestore'; | |
import 'firebase/auth'; | |
// Replace this with your own config details | |
var config = { | |
apiKey: "AIzaSyBZ0iclqLM6B2ccDAZQqXO0TIhScB5K4EQ", | |
authDomain: "a-simple-cms.firebaseapp.com", | |
databaseURL: "https://a-simple-cms.firebaseio.com", | |
projectId: "a-simple-cms", | |
storageBucket: "a-simple-cms.appspot.com", | |
messagingSenderId: "147262847036" | |
}; | |
firebase.initializeApp(config); | |
firebase.firestore().settings({ timestampsInSnapshots: true }); | |
export default firebase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment