Create functions that are triggered by Firebase products, such as changes to data in the Realtime Database, new user sign-ups via Auth, and conversion events in Analytics. Are you a Google Cloud Platform developer? See Google Cloud Functions.
Deploying your code to our servers requires just one command. After that, Cloud Functions automatically scales up computing resources to match the usage patterns of your app. You never worry about SSH credentials, server configuration, provisioning new servers, or decommissioning old ones.
In many cases, application logic is best controlled on the server to avoid tampering on the client side. Cloud Functions is fully insulated from the client, so you can be sure its functions are private and secure and can’t be reverse engineered.