text: import firebase from 'firebase';
  
  require('dotenv').config();
  
  // Firebase configuration
  const firebaseApp = firebase.initializeApp({
    apiKey: process.env.REACT_APP_API_KEY,
    authDomain: process.env.REACT_APP_AUTH_DOMAIN,
    databaseURL: process.env.REACT_APP_DATABASE_URL,
    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_ID,
    measurementId: process.env.REACT_APP_MEASUREMENT_ID,
  });
  
  const auth = firebase.auth();
  const db = firebaseApp.firestore();
  const storage = firebase.storage();
  const timestamp = firebase.firestore.FieldValue.serverTimestamp;
  
  export { auth, db, storage, timestamp };
  