25 lines
942 B
JavaScript
25 lines
942 B
JavaScript
// Import the functions you need from the SDKs you need
|
|
import { getAnalytics } from "firebase/analytics";
|
|
import { initializeApp } from "firebase/app";
|
|
import { getAuth } from "firebase/auth";
|
|
// 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
|
|
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
|
|
const firebaseConfig = {
|
|
apiKey: "AIzaSyDwRy3i-iDMp-EMaD951kCHA_sYchUn3XQ",
|
|
authDomain: "estagios-f24a0.firebaseapp.com",
|
|
projectId: "estagios-f24a0",
|
|
storageBucket: "estagios-f24a0.firebasestorage.app",
|
|
messagingSenderId: "74100452508",
|
|
appId: "1:74100452508:web:17e7e082de613de00ad159",
|
|
measurementId: "G-114DX1B2SR"
|
|
};
|
|
|
|
// Initialize Firebase
|
|
const app = initializeApp(firebaseConfig);
|
|
const analytics = getAnalytics(app);
|
|
|
|
export const auth = getAuth(app);
|
|
export const db = getFirestore(app); |