23 lines
813 B
JavaScript
23 lines
813 B
JavaScript
// Import the functions you need from the SDKs you need
|
|
import { initializeApp } from "firebase/app";
|
|
import { getAuth } from 'firebase/auth';
|
|
import { getFirestore } from "firebase/firestore";
|
|
|
|
// 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
|
|
const firebaseConfig = {
|
|
apiKey: "AIzaSyCSD4FNL-j6mEudYfnu1NV7k63a8TdHvPU",
|
|
authDomain: "mmm-projet-ddf1f.firebaseapp.com",
|
|
projectId: "mmm-projet-ddf1f",
|
|
storageBucket: "mmm-projet-ddf1f.firebasestorage.app",
|
|
messagingSenderId: "328867267019",
|
|
appId: "1:328867267019:web:f21d40680e63fb56f5b64e"
|
|
};
|
|
|
|
// Initialize Firebase
|
|
const app = initializeApp(firebaseConfig);
|
|
|
|
export const auth = getAuth(app);
|
|
export const db = getFirestore(app); |