Spaces:
Running
Running
| 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"; | |
| 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); | |
| export { db }; | |