Vibecodingex / src /services /firebase.js
Lashtw's picture
Upload 10 files
55c2535 verified
raw
history blame contribute delete
812 Bytes
import { initializeApp } from "https://www.gstatic.com/firebasejs/10.7.1/firebase-app.js";
import { getFirestore } from "https://www.gstatic.com/firebasejs/10.7.1/firebase-firestore.js";
import { getAuth, GoogleAuthProvider } from "https://www.gstatic.com/firebasejs/10.7.1/firebase-auth.js";
const firebaseConfig = {
apiKey: "AIzaSyDq2a-yE6pbaeNf6KzkTcogh9oi-6nQbKk",
authDomain: "vibecodingex.firebaseapp.com",
projectId: "vibecodingex",
storageBucket: "vibecodingex.firebasestorage.app",
messagingSenderId: "831513336128",
appId: "1:831513336128:web:e31d2654fcfa19fb2642a5"
};
const app = initializeApp(firebaseConfig);
const db = getFirestore(app);
const auth = getAuth(app);
const googleProvider = new GoogleAuthProvider();
export { db, auth, googleProvider };