abcnews/poll-counters

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

poll-counters

Manage our firebase poll-counters project, which stores counts for multiple-choice poll answers across many stories, allowing increments / totals via cloud functions.

Getting started

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.

API client

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.