samedhi / firemore

Firebase + Clojure -> Firemore
https://firemore.org/
MIT License
19 stars 4 forks source link

Support Cloud Functions #33

Open samedhi opened 4 years ago

samedhi commented 4 years ago

Firebase supports cloud functions that can be called on CREATE/UPDATE/DELETE of Firestore entities. These are normal JS functions that are invoked on the server that takes the context as an argument. Rather than write js functions, can I write cljs functions that I can pass to the server?

https://firebase.google.com/docs/functions

samedhi commented 4 years ago

What is developing these things like? What is the flow

1) Deploy your cloud functions manually as needed. 2) Git commit hooks that notice new cloud functions and upload them every time they are changed. 3) Part of your CI just uploads new cloud functions (may already do this?).