Skip to content

Instantly share code, notes, and snippets.

View ccutch's full-sized avatar
🎯
Focusing

Connor McCutcheon ccutch

🎯
Focusing
  • California
View GitHub Profile
@ccutch
ccutch / Firebase.js
Last active November 29, 2018 06:11 — forked from codyswain/Firebase.js
The only important line of HomeScreen.js is line 34. The variable assignment here returns a Promise but no data.
import * as firebase from 'firebase'
import 'firebase/firestore';
class FireBase {
constructor() {
let config = {
apiKey: "AIzaSyAO8BB0W6mXDr3ihvkMn-uJjopgfsf_qow",
authDomain: "cherishly-412dd.firebaseapp.com",
databaseURL: "https://cherishly-412dd.firebaseio.com",
projectId: "cherishly-412dd",