import { initializeApp } from 'firebase/app'
import { getFirestore } from 'firebase/firestore'
import { getStorage } from 'firebase/storage'

export const config = {
  apiKey: 'AIzaSyA9t2mxs8P3ycqBIuWt2GJE5gFRb9Q_790',
  authDomain: 'vapta-v2.firebaseapp.com',
  projectId: 'vapta-v2',
  storageBucket: 'vapta-v2.appspot.com',
  messagingSenderId: '703513933779',
  appId: '1:703513933779:web:67515ce0d88e889fbb6126',
  measurementId: 'G-0CSR00BLST'
}

const app = initializeApp(config, config.projectId + ' Modules')

export const database = getFirestore(app)
export const storage = getStorage(app)
