// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
import { getDatabase } from "firebase/database";
// 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: "AIzaSyDOHOApZxSdaovifQ2qS-xGd7-UdFJ9swQ",
  authDomain: "obelia-zaara.firebaseapp.com",
  databaseURL: "https://obelia-zaara-default-rtdb.firebaseio.com",
  projectId: "obelia-zaara",
  storageBucket: "obelia-zaara.firebasestorage.app",
  messagingSenderId: "384347793743",
  appId: "1:384347793743:web:ee07c38bc5dcbc92657d3a",
  measurementId: "G-Y7RCX318X0"
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
// const analytics = getAnalytics(app);
export const database = getDatabase(app);