How do I structure Cloud Functions for Firebase to deploy multiple functions from multiple files?
I would like to create multiple Cloud Functions for Firebase and deploy them all at the same time from one project. I would also like to separate each function into a separate file. Currently I can create multiple functions if I put them both in index.js such as: exports.foo = functions.database.ref(‘/foo’).onWrite(event => { … }); … Read more