Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import firebase from 'firebase/app';
  2. import 'firebase/firestore';
  3. import 'firebase/auth';
  4.  
  5. // Get a Firestore instance
  6. console.log('Initialize firebase app');
  7. const app = firebase
  8.   .initializeApp({
  9.     projectId: '',
  10.     apiKey: '',
  11.   });
  12.  
  13. export const db = app.firestore();
  14. export const auth = app.auth();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement