Created
July 29, 2024 01:48
-
-
Save jorarmarfin/f5e4ab362a4662121b6d4566a5812b9b to your computer and use it in GitHub Desktop.
Config for Firebase
This file contains hidden or 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 the functions you need from the SDKs you need | |
import { initializeApp } from "firebase/app"; | |
import { getAuth } from "firebase/auth"; | |
import { getFirestore } from "firebase/firestore"; | |
// TODO: Add SDKs for Firebase products that you want to use | |
// https://firebase.google.com/docs/web/setup#available-libraries | |
// Your web app's Firebase configuration | |
const firebaseConfig = { | |
apiKey: "", | |
authDomain: "", | |
projectId: "", | |
storageBucket: "", | |
messagingSenderId: "", | |
appId: "" | |
}; | |
// Initialize Firebase | |
export const FirebaseApp = initializeApp(firebaseConfig); | |
export const FirebaseAuth = getAuth(FirebaseApp); | |
export const FirebaseFirestore = getFirestore(FirebaseApp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment