Skip to content

Instantly share code, notes, and snippets.

@RouillerRomain
Created March 18, 2019 10:49
Show Gist options
  • Save RouillerRomain/8da4d21a7efe3658b3dbd130f67440f1 to your computer and use it in GitHub Desktop.
Save RouillerRomain/8da4d21a7efe3658b3dbd130f67440f1 to your computer and use it in GitHub Desktop.
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