Spaces:
Running
Running
Download src/services/firebase.js from Lashtw/VibeCodeingRenew: direct link, hf CLI and curl.
- Browser
- Download file 812 Bytes
-
https://huggingface.co/spaces/Lashtw/VibeCodeingRenew/resolve/main/src/services/firebase.js
- Command line
-
hf download hf://spaces/Lashtw/VibeCodeingRenew/src/services/firebase.js
-
curl -L -o firebase.js https://huggingface.co/spaces/Lashtw/VibeCodeingRenew/resolve/main/src/services/firebase.js
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 }; | |