{"size": 1598, "ext": "js", "max_stars_repo_path": "src/Firebase.js", "max_stars_repo_name": "BradCoffield/library-cheatsheets-manager", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/Firebase.js", "max_issues_repo_name": "BradCoffield/library-cheatsheets-manager", "max_issues_repo_issues_event_min_datetime": "2021-03-10T05:54:32.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T22:59:04.000Z", "max_forks_repo_path": "src/Firebase.js", "max_forks_repo_name": "BradCoffield/library-cheatsheets-manager", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 34.7391304348, "max_line_length": 77, "alphanum_fraction": 0.7753441802}
import { firebase } from "@firebase/app";
import "@firebase/firestore";

// const firebaseApp = firebase.initializeApp({
//   apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
//   authDomain: "your-project.firebaseapp.com",
//   databaseURL: "https://your-project.firebaseio.com",
//   projectId: "your-project",
//   storageBucket: "your-project.appspot.com",
//   messagingSenderId: "xxxxxxxxxxxx"
// });

const libDataConfig = {
  apiKey: process.env.VUE_APP_LIBDATAFIRESTORE_API_KEY,
  authDomain: process.env.VUE_APP_LIBDATAFIRESTORE_AUTH_DOMAIN,
  databaseURL: process.env.VUE_APP_LIBDATAFIRESTORE_DATABASE_URL,
  projectId: process.env.VUE_APP_LIBDATAFIRESTORE_PROJECT_ID,
  storageBucket: process.env.VUE_APP_LIBDATAFIRESTORE_STORAGE_BUCKET,
  messagingSenderId: process.env.VUE_APP_LIBDATAFIRESTORE_MESSAGING_SENDER_ID
};
var secondary = firebase.initializeApp(libDataConfig, "secondary");
const dbData = secondary.firestore();
export default dbData;

// /* eslint-disable */

// import * as firebase from "firebase";
// import firestore from "firebase/firestore";

// const settings = {};

// const config = {
//   apiKey: process.env.VUE_APP_FIRESTORE_API_KEY,
//   authDomain: process.env.VUE_APP_FIRESTORE_AUTH_DOMAIN,
//   databaseURL: process.env.VUE_APP_FIRESTORE_DATABASE_URL,
//   projectId: process.env.VUE_APP_FIRESTORE_PROJECT_ID,
//   storageBucket: process.env.VUE_APP_FIRESTORE_STORAGE_BUCKET,
//   messagingSenderId: process.env.VUE_APP_FIRESTORE_MESSAGING_SENDER_ID
// };

// firebase.initializeApp(config);

// firebase.firestore().settings(settings);

// export default firebase;
