// firebase/config.ts
import { FirebaseApp, initializeApp } from 'firebase/app';
import { getFirestore } from 'firebase/firestore';


const firebaseConfig = {
  apiKey: 'AIzaSyDHoF8Eahk60s3APh7WxohL1bya_44v39k',
  authDomain: 'brix-cafe-2ddf1.firebaseapp.com',
  projectId: 'brix-cafe-2ddf1',
  storageBucket: 'brix-cafe-2ddf1.appspot.com',
  messagingSenderId: '577471189504',
  appId: '1:577471189504:web:7bf8819223bf0d4cf03ee5',
  measurementId: 'G-FSV5ZQBJS3',
};

const app: FirebaseApp = initializeApp(firebaseConfig);

export const db = getFirestore(app);
export { app };
