Files
GestorCondominio/firebase.js
2026-06-11 17:06:13 +01:00

19 lines
642 B
JavaScript

import { initializeApp } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-app.js";
import { getDatabase } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-database.js";
const firebaseConfig = {
apiKey: "AQUI_TUA_API_KEY",
authDomain: "condomaster-pro-ed9af.firebaseapp.com",
databaseURL: "https://condomaster-pro-ed9af-default-rtdb.europe-west1.firebasedatabase.app",
projectId: "condomaster-pro-ed9af",
storageBucket: "condomaster-pro-ed9af.appspot.com",
messagingSenderId: "AQUI",
appId: "AQUI"
};
const app = initializeApp(firebaseConfig);
const db = getDatabase(app);
export { app, db, firebaseConfig };