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.
Cloud Functions is a versatile tool for building your mobile app. Here are a just a few of the many tasks you can perform with the integrations available at launch:
Firebase Analytics integration lets you trigger a function when a specific conversion event is fired. You can create functions to automate growth and retention workflows for your mobile apps, all without ever needing to update your client code.
- Send a notification with a coupon code to users who have just completed a purchase
- Send a survey request to users after they upgrade their app
- Send an email to welcome new users immediately after they sign up
- Clean up user associated data from your Realtime Database when a user account is deleted
- Send a notification using FCM when data is written to the database
- Moderate and remove abusive language from data written to the database
- Resize and convert images when a new image has been uploaded to your Cloud Storage bucket
- Moderate abusive images uploaded to Cloud Storage using the Cloud Vision API
- Post new GitHub commits to a Slack channel
- Process in-app payments using Stripe
"We were early testers of Cloud Functions for Firebase and were excited to see how easy it was to extend the Realtime Database to export data and integrate with other services."
- Erling MÃ¥rtensson, Master Architect, Sony
Firebase SDK and tooling
The SDK works in tandem with the Firebase CLI to provide a seamless experience when deploying your functions. This tight integration allows you to deploy all of your functions using only a single command.
Pricing
Cloud Functions is available on all Firebase pricing plans, including our free tier. The free tier allows you to quickly experiment and try out integration with other Firebase products. For our Blaze plan, you only pay for what you use. Blaze customers also receive a monthly allotment of free usage for Cloud Functions.
"Thanks to Cloud Functions for Firebase, I built a company with no permanent employees but myself (so far), with no serious scaling concerns, and no major costs maintaining or upgrading the backend as the app grows. It's something of a miracle."
- Paul Budnitz, Founder/CEO, Wuu
Create and deploy your first Cloud Function today
Getting started is easy! Walk through our step-by-step codelab, which takes you through setting up your first Cloud Function. You can refer to our full documentation for all the details.
We can't wait to see what you build!
0 comments:
Post a Comment