forked from jayanthpotluri/AAC13
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config2.js
37 lines (29 loc) · 1.06 KB
/
config2.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// const firebase=require('firebase')
// firebaseConfig = {
// apiKey: "AIzaSyBc9qH3Iyl1R0zp7jf8MN0CLeMH2BdTRA4",
// authDomain: "tutorial-ef9d5.firebaseapp.com",
// projectId: "tutorial-ef9d5",
// storageBucket: "tutorial-ef9d5.appspot.com",
// messagingSenderId: "229803567458",
// appId: "1:229803567458:web:ae9c3648c33cc1bc92a43b",
// measurementId: "G-0YEWEQLZGE"
// };
// firebase.initializeApp(firebaseConfig)
// const db=firebase.firestore()
// const user=Db.collection("users")
// module.exports=User;
const firebase=require('firebase')
const cors = require
const firebaseConfig = {
apiKey: "AIzaSyA016cibP9SqGCsTqnpmVsqZRwW4aG_XcI",
authDomain: "web-dev-50e6e.firebaseapp.com",
projectId: "web-dev-50e6e",
storageBucket: "web-dev-50e6e.appspot.com",
messagingSenderId: "743842078745",
appId: "1:743842078745:web:aa7a5f9a578a996744ca88",
measurementId: "G-BG6CYFPDTS"
};
firebase.initializeApp(firebaseConfig)
const db1=firebase.firestore()
const Hospital = db1.collection("hospitals")
module.exports = Hospital