import firebase from "firebase/app" ; import "firebase/auth" ; import "firebase/firestore" ; const firebaseConfig = { apiKey : process . env . REACT_APP_API_KEY , authDomain : process . env . REACT_APP_AUTHDOMAIN , projectId : process . env . REACT_APP_PROJECT_ID , storageBucket : process . env . REACT_APP_STORAGE_BUCKET , messagingSenderId : process . env . REACT_APP_MESSAGING_SENDER_ID , appId : process . env . REACT_APP_APP_ID , } ; firebase . initializeApp ( firebaseConfig ) ; const auth = firebase . auth ( ) ; const firestore = firebase . firestore ( ) ; export { firebase , auth , firestore } ;