Spaces:
Running
Running
| import { initializeApp } from "firebase/app"; | |
| import { getAuth } from "firebase/auth"; | |
| import { getDatabase } from "firebase/database"; | |
| import { getStorage } from "firebase/storage"; | |
| const firebaseConfig = { | |
| apiKey: "AIzaSyBm2Tvsz7SHtWEWO-97p3gvqC76iqt05VM", | |
| authDomain: "rest-fc379.firebaseapp.com", | |
| databaseURL: "https://rest-fc379-default-rtdb.firebaseio.com", | |
| projectId: "rest-fc379", | |
| storageBucket: "rest-fc379.firebasestorage.app", | |
| messagingSenderId: "119970678093", | |
| appId: "1:119970678093:web:16fb097882249fdce0e304", | |
| measurementId: "G-ZDEW4Q04NN" | |
| }; | |
| const app = initializeApp(firebaseConfig); | |
| export const auth = getAuth(app); | |
| export const db = getDatabase(app); | |
| export const storage = getStorage(app); | |
| export default app; | |