File size: 681 Bytes
9f7a5a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";

// Your web app's Firebase configuration
const firebaseConfig = {
  apiKey: "AIzaSyCwM9fumgWifh9lf4tA_dINQqpR2vkHVxI",
  authDomain: "custom-chatbot-b7358.firebaseapp.com",
  projectId: "custom-chatbot-b7358",
  storageBucket: "custom-chatbot-b7358.firebasestorage.app",
  messagingSenderId: "313932051840",
  appId: "1:313932051840:web:816fb21654e324451dbd65",
  measurementId: "G-HR3DKV3BNR"
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const auth = getAuth(app);
const db = getFirestore(app);

export { auth, db };