Skip to content

Instantly share code, notes, and snippets.

@Furkan-Gulsen
Created September 7, 2019 08:17
Show Gist options
  • Save Furkan-Gulsen/40a397fa21c8d0bdb4d3e134fcdfa6cd to your computer and use it in GitHub Desktop.
Save Furkan-Gulsen/40a397fa21c8d0bdb4d3e134fcdfa6cd to your computer and use it in GitHub Desktop.
Firebase Config
import * as firebase from "firebase";
import { FirebaseConfig } from "../config/keys";
firebase.initializeApp(FirebaseConfig);
const databaseRef = firebase.database().ref();
export const todosRef = databaseRef.child("todos");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment