Skip to content

Instantly share code, notes, and snippets.

@matthewess
matthewess / sadbot_firebase_doc.md
Last active July 25, 2016 00:04
Sadbot Firebase Documentation

Connection

Firebase details need to be set in your .env, including a reference to a .json file with the service account credentials and the URL for the firebase DB.

Usage

Modules that want to access firebase should require('../firebase.js'). Example:

Example