Skip to content

greenhousegames/firebase-reporting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firebase Reporting

The client-side only solution to reporting with Firebase

Build Status npm version

Live Products

This library is being used by the following apps:

Overview

Firebase Reporting provides the ability to generate reports on data stored in firebase without needing an alternate reporting database or server! Firebase reporting does all metric calculations on the client using transactions in firebase, ensuring the metrics are reliably calculated regardless of the number of clients attempting to updated the reports.

Firebase reporting is designed to provide simple metrics on the data. For complex reporting, it is suggested to use an alternate database for better performance.

Setup

Templates

Use one of the following templates to get started quickly with Firebase Reporting:

Manual

Add Firebase Reporting to an existing project using npm:

npm install firebase-reporting --save

Integration

Firebase Reporting can be included in a project using the following code:

var FirebaseReporting = require('@greenhousegames/firebase-reporting');
var reporting = new FirebaseReporting(config);

The FirebaseReporting constructor takes the following configuration object:

{
  firebase: 'object', // reference in firebase for where to store results
  separator: 'string' // string used as separator in firebase database keys (defaults to '~~')
}

API

...

About

The client-side only solution to reporting with Firebase

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published