This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const firebase = require("firebase"); | |
// Required for side-effects | |
require("firebase/firestore"); | |
// Initialize Cloud Firestore through Firebase | |
firebase.initializeApp({ | |
apiKey: "<YOUR API KEY>", | |
authDomain: "<YOUR AUTH DOMAIN>", | |
projectId: "<YOUR PROJECT ID>" | |
}); |