Name: poll-counters
Owner: ABC News
Description: Manage our firebase poll-counters project
Created: 2018-04-05 00:32:15.0
Updated: 2018-04-06 05:02:01.0
Pushed: 2018-04-06 05:01:59.0
Homepage: null
Size: 75
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Manage our firebase poll-counters
project, which stores counts for multiple-choice poll answers across many stories, allowing increments / totals via cloud functions.
Install firebase's tools globally:
m install --global firebase-tools
Install cloud functions dependencies locally:
functions
m install
Read the getting started guide for working with cloud functions.
Don't have access to the project on firebase? Email Colin Gourlay with the Google account you would like associated with the project.
The client/
directory of this project contains the source for a simple wrapper class for the API, which is published to npm as @abcnews/poll-counters-client
. Have a look in example.js
for usage examples.