smart-database
Version:
This is smart database using firebase . it is only for those students whose learn forntend . they can use firebase as a backend to save own data .
12 lines (10 loc) • 398 B
JavaScript
import { firebaseConfig } from "./firebaseConfig.js";
import { initializeApp } from "firebase/app";
import { getFirestore } from "firebase/firestore";
import { getAuth } from "firebase/auth";
import {getStorage} from "firebase/storage"
const app = initializeApp(firebaseConfig);
const db = getFirestore(app);
const auth = getAuth(app)
const myFile = getStorage(app)
export {db,myFile};