-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.js
More file actions
24 lines (20 loc) · 749 Bytes
/
Copy pathindex.js
File metadata and controls
24 lines (20 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
import registerServiceWorker from './registerServiceWorker'
import firebase from 'firebase'
import 'firebase/firestore'
firebase.initializeApp({
apiKey: 'AIzaSyC47lRbubYO40J7JnfJcofcx6uy3nUyRCM',
authDomain: 'passwordgrid.firebaseapp.com',
databaseURL: 'https://passwordgrid.firebaseio.com',
projectId: 'passwordgrid',
storageBucket: '',
messagingSenderId: '778539195766'
})
const rootEl = document.getElementById('root')
ReactDOM.render(<MuiThemeProvider><App /></MuiThemeProvider>, rootEl)
registerServiceWorker()
export const firestore = firebase.firestore()