Backend for our submission to hack:now, UC Berkeley's online hackathon.
Each function is stored in its own file for modularity and referenced in/exported to index.js
which is necessary for deploying to Firebase Cloud Functions.
Functions can be accessed through the Firebase SDK for Cloud Functions, detailed here.
Simply create a new pull request that includes your function's .js file, in addition to an updated index.js
that includes the newly-created function.