Skip to content

Commit 886638f

Browse files
authored
New: added firestore realtime config chat
1 parent 8783f03 commit 886638f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

node/firestore.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const firebaseConfig = {
2+
apiKey: "AIzaSyBZJ4IzV9vXyLdBT-m8nEAB81Exz1LY3Ho",
3+
authDomain: "mynewchat-6c1a2.firebaseapp.com",
4+
projectId: "mynewchat-6c1a2",
5+
storageBucket: "mynewchat-6c1a2.appspot.com",
6+
messagingSenderId: "348556921164",
7+
appId: "1:348556921164:web:880cb2506e14b0028667e9"
8+
};
9+
firebase.initializeApp(firebaseConfig);
10+
11+
const db = firebase.database();

0 commit comments

Comments
 (0)