RC-4-connect-firebase-auth #2

Merged
evgeniywas merged 13 commits from RC-4-connect-firebase-auth into dev 2023-06-23 19:19:38 +03:00
Showing only changes of commit ae8294841c - Show all commits

View File

@@ -0,0 +1,15 @@
import { initializeApp } from 'firebase/app';
import { getAuth } from 'firebase/auth';
import { getDatabase } from 'firebase/database';
import { getStorage } from 'firebase/storage';
export default class FirebaseService {
#app;
constructor(config) {
this.app = initializeApp(config);
this.auth = getAuth(this.app);
this.db = getDatabase(this.app);
this.storage = getStorage(this.app);
}
}