Created
January 15, 2018 20:29
-
-
Save hiranya911/ef1b8548f1fe357aab9def56571789ce 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
var admin = require('firebase-admin'); | |
var serviceAccount = require('path/to/service_account.json'); | |
admin.initializeApp({ | |
credential: admin.credential.cert(serviceAccount), | |
databaseURL: 'https://database-name.firebaseio.com' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment