Firebase started with the belief that apps could be built with mostly client code since it was, in many instances, easier and faster. However, there are still some cases where server code is needed, such as executing trusted code, authenticating to a third party API, or running battery intensive operations. In these instances, you had to stand up your own server — until now.
Today we are excited to announce the beta launch of
Cloud Functions for
Firebase. It lets you write small pieces of JavaScript, deploy them to
Google's Cloud infrastructure, and execute them in response to events from
throughout the Firebase ecosystem. This has been the most requested feature
since Firebase launched. The ability to extend and connect Firebase features
using Cloud Functions makes Firebase more powerful, allowing you to do even more
with your app without having to think about servers.