Skip to content

Instantly share code, notes, and snippets.

@munhra
Created October 29, 2018 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save munhra/b476b9694043c613234464547ac859e9 to your computer and use it in GitHub Desktop.
Save munhra/b476b9694043c613234464547ac859e9 to your computer and use it in GitHub Desktop.
FirebaseUtils.js
import firebase from "firebase";
const config = {
apiKey: "Minha Chave Tira o Zóio",
authDomain: "iplantacao-72b97.firebaseapp.com",
databaseURL: "https://iplantacao-72b97.firebaseio.com",
projectId: "iplantacao-72b97",
storageBucket: "iplantacao-72b97.appspot.com",
messagingSenderId: "Tira o Zoio"
};
export const firebaseImpl = firebase.initializeApp(config);
export const firebaseDatabase = firebase.database();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment