Created
August 20, 2020 07:54
-
-
Save fredriccliver/2e8fe9c50e2b1af2dd1f5baa381a86d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as functions from "firebase-functions" | |
import * as admin from "firebase-admin" | |
const serviceAccount = require("./../service-account.json") | |
admin.initializeApp({ | |
credential: admin.credential.cert(serviceAccount), | |
databaseURL: "https://[project-id].firebaseio.com" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment