Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
// 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: "YOUR_API_KEY",
authDomain: "YOUR_AUTH_DOMAIN",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_STORAGE_BUCKET",
messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
appId: "YOUR_APP_ID",
measurementId: "YOUR_MEASUREMENT_ID"
apiKey: "AIzaSyCYneb7heYJU8D6WranVq26jRCm33KTEFA",
authDomain: "tricolor-trends.firebaseapp.com",
projectId: "tricolor-trends",
storageBucket: "tricolor-trends.firebasestorage.app",
messagingSenderId: "320568389289",
appId: "1:320568389289:web:22c9cce20c2a499a6a43b8",
measurementId: "G-P5YKMPYK5N"
};
export {firebaseConfig};

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