{"size": 576, "ext": "js", "max_stars_repo_path": "src/firebase.js", "max_stars_repo_name": "danyim/indecks", "max_stars_repo_stars_event_min_datetime": "2016-08-10T08:23:23.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-29T12:18:02.000Z", "max_issues_repo_path": "src/firebase.js", "max_issues_repo_name": "danyim/indecks", "max_issues_repo_issues_event_min_datetime": "2016-09-11T16:27:32.000Z", "max_issues_repo_issues_event_max_datetime": "2016-10-30T12:37:43.000Z", "max_forks_repo_path": "src/firebase.js", "max_forks_repo_name": "danyim/indecks", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 5, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 33.8823529412, "max_line_length": 77, "alphanum_fraction": 0.7916666667}
import firebase from 'firebase'
import 'firebase/auth'
import 'firebase/database'

const config = {
  apiKey: process.env.REACT_APP_FIREBASE_KEY,
  authDomain: `${process.env.REACT_APP_FIREBASE_ID}.firebaseapp.com`,
  databaseURL: `https://${process.env.REACT_APP_FIREBASE_ID}.firebaseio.com`,
  projectId: process.env.REACT_APP_FIREBASE_ID,
  storageBucket: `${process.env.REACT_APP_FIREBASE_ID}.appspot.com`,
}

export const firebaseApp = firebase.initializeApp(config)
export const db = firebaseApp.database()
export const auth = firebaseApp.auth()
export default firebase
