File size: 818 Bytes
f5071ca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import Firebase from 'firebase/app';
import 'firebase/firestore';
import 'firebase/auth';
// 1) when seeding the database you'll have to uncomment this!
// import { seedDatabase } from '../seed';
const config = {
apiKey: 'AIzaSyCev-C6AKuyxD8oXcGwuAyyGmWpo7INl3U',
authDomain: 'netflix-test01.firebaseapp.com',
databaseURL: 'https://netflix-test01.firebaseio.com',
projectId: 'netflix-test01',
storageBucket: 'netflix-test01.appspot.com',
messagingSenderId: '541152959854',
appId: '1:541152959854:web:38145f65984eef0cd3757f',
};
const firebase = Firebase.initializeApp(config);
// 2) when seeding the database you'll have to uncomment this!
// seedDatabase(firebase);
// 3) once you have populated the database (only run once!), re-comment
// this so you don't get duplicate data
export { firebase };
|