{"size": 523, "ext": "js", "max_stars_repo_path": "src/views/public/scripts/firebase/initialize-firebase.js", "max_stars_repo_name": "SauloMcChelsom/NestJS-Setup", "max_stars_repo_stars_event_min_datetime": "2021-09-21T11:34:37.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-21T11:34:37.000Z", "max_issues_repo_path": "src/views/public/scripts/firebase/initialize-firebase.js", "max_issues_repo_name": "SauloMcChelsom/NestJS-Setup", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/views/public/scripts/firebase/initialize-firebase.js", "max_forks_repo_name": "SauloMcChelsom/NestJS-Setup", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.5263157895, "max_line_length": 54, "alphanum_fraction": 0.7036328872}
var serviceAccount = {
    apiKey: "AIzaSyC7bzUIjrIHIdAhRyRm1GRWBmAR3Wr2CZA",
    authDomain: "educando-brasil.firebaseapp.com",
    projectId: "educando-brasil",
    storageBucket: "educando-brasil.appspot.com",
    messagingSenderId: "42631077323",
    appId: "1:42631077323:web:a3a48aa55ae0daf0cd6a4e",
    measurementId: "G-HGLNMW873K"
};

function initializeFirebase() {
    if (!firebase.apps.length) {
        firebase.initializeApp(serviceAccount);
    }else {
        firebase.app(); 
    }
}

initializeFirebase()