Skip to content

Instantly share code, notes, and snippets.

@tailorvj
Created October 13, 2019 14:27
Show Gist options
  • Save tailorvj/47e1195c294a4e5c03939b4dd7063d12 to your computer and use it in GitHub Desktop.
Save tailorvj/47e1195c294a4e5c03939b4dd7063d12 to your computer and use it in GitHub Desktop.
import firebase from 'firebase/app';
import 'firebase/firestore';
const firebaseConfig = firebase.initializeApp({
//create a Firestore database in your Firebase project and
//replace only the internal part of this object from your Firebase web settings
apiKey: "",
authDomain: "your.firebaseapp.com",
databaseURL: "https://your.firebaseio.com",
projectId: "yourprojectid",
storageBucket: "yourbucket.appspot.com",
messagingSenderId: "yourmessagingid",
appId: "yourappid",
measurementId: "yourmeasurementidforanalytics"
});
export {firebaseConfig as firebase};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment