Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Cloud Functions for Firebase
Run backend code without managing servers
A serverless framework that lets you automatically run backend code in response to events triggered by background events, HTTPS requests, the Admin SDK, or Cloud Scheduler jobs.
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 Google Analytics. Are you a Google Cloud developer? See Google Cloud Functions.
Execute seu código de back-end para dispositivos móveis sem gerenciar servidores.
Cloud Functions are single-purpose JavaScript and Python functions that are executed in a secure, managed serverless environment. They are only executed when a specific event being watched is emitted.
Manutenção reduzida
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 have to worry about SSH credentials, server configuration, provisioning new servers, or decommissioning old ones.
Mantém a privacidade e a segurança do seu código
Em muitos casos, é melhor controlar a lógica do aplicativo no servidor para evitar violações feitas pelo cliente. O Cloud Functions é totalmente isolado do cliente. Isso garante a privacidade e a segurança das funções, além de impossibilitar a engenharia reversa.
Estudos de caso
Learn how Cloud Functions helps teams across the world improve app quality
STAGE usa o Firebase e o Flutter para reduzir o tempo de lançamento pela metade
A STAGE combinou as ferramentas de front-end do Flutter com os serviços de back-end do Firebase para criar um app multiplataforma, com uma infraestrutura que armazena e entrega conteúdo com segurança a quase 2 milhões de usuários em tempo real para oferecer uma experiência de visualização tranquila e se destacar no mercado competitivo de streaming da Índia.
A Acintyo usa o Firebase para simplificar e acelerar o desenvolvimento de aplicativos em 25%
Com milhões de usuários em 175 países, a equipe do Galarm usou a infraestrutura escalonável e totalmente gerenciada do Firebase para acelerar o desenvolvimento de aplicativos, automatizar tarefas e liberar tempo de engenharia para se concentrar em colocar ideias em prática.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],[],[],[],null,["# Cloud Functions for Firebase | Run backend code without managing servers\n\n##### Cloud Functions for Firebase\n\nRun backend code without managing servers\n=========================================\n\nA serverless framework that lets you automatically run backend code in response to events triggered by background events, HTTPS requests, the Admin SDK, or Cloud Scheduler jobs.\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n[Get started](https://console.firebase.google.com/project/_/functions/list/) [View docs\n*arrow_forward*](/docs/functions) \n\n### Develop a backend without servers\n\nCreate 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 Google Analytics. Are you a Google Cloud developer? See [Google Cloud Functions](https://cloud.google.com/functions/). \n*plat_ios* *plat_android* *plat_web* *plat_cpp* *plat_unity* \n\n### Run your mobile backend code without managing servers\n\nCloud Functions are single-purpose JavaScript and Python functions that are executed in a secure, managed serverless environment. They are only executed when a specific event being watched is emitted. \n\n### Low maintenance\n\nDeploying 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 have to worry about SSH credentials, server configuration, provisioning new servers, or decommissioning old ones. \n\n### Keeps your logic private and secure\n\nIn 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. \nCase Studies\n\n### Learn how Cloud Functions helps teams across the world improve app quality\n\n-\n\n ##### STAGE uses Firebase and Flutter to cut release time in half\n\n\n STAGE paired Flutter's front-end tools with Firebase's back-end services to build a multi-platform app, with infrastructure that securely stores and delivers content to almost 2 million users in real time for a smooth viewing experience - helping them stand out in India's competitive streaming market.\n [Read more\n *arrow_forward*](/case-studies/stage-app)\n-\n\n ##### Acintyo uses Firebase to streamline and speed up app development by 25%\n\n\n With millions of users across 175 countries, the Galarm team used Firebase's fully-managed, scalable infrastructure to accelerate app development, automate tasks, and free up engineering time so they could focus on bringing their ideas to life.\n [Read more\n *arrow_forward*](/case-studies/acintyo-galarm-app)\n-\n\n ##### Le Figaro leverages Firebase to increase paid subscriptions across mobile and web apps\n\n\n Le Figaro used a number of Firebase products to retain existing users, increase paid subscriptions and decrease development time.\n [Read more\n*arrow_forward*](/case-studies/le-figaro) \n\n### Documentation\n\nLearn more about Cloud Functions through our documentation. \n[View docs](/docs/functions) \n\n### View pricing\n\nNo-Cost quota amounts, then Google Cloud pricing. \n[Pricing Page](/pricing) \nTry Firebase today\n\n\nIntegrating it into your app is easy.\n[Get started](https://console.firebase.google.com/) \n\n#### All Firebase products\n\n##### Build\n\n- [App Check](/products/app-check)\n- [App Hosting](/products/app-hosting)\n- [Authentication](/products/auth)\n- [Cloud Functions](/products/functions)\n- [Cloud Storage](/products/storage)\n- [Data Connect](/products/data-connect)\n- [Extensions](/products/extensions)\n- [Firestore](/products/firestore)\n- [Firebase ML](/products/ml)\n- [Genkit](https://genkit.dev/)\n- [Hosting](/products/hosting)\n- [Realtime Database](/products/realtime-database)\n- [Firebase AI Logic client SDKs](/products/firebase-ai-logic)\n\n[Generative AI](/products/generative-ai) \n\n##### Run\n\n- [A/B Testing](/products/ab-testing)\n- [App Distribution](/products/app-distribution)\n- [Cloud Messaging](/products/cloud-messaging)\n- [Crashlytics](/products/crashlytics)\n- [Google Analytics](/products/analytics)\n- [In-App Messaging](/products/in-app-messaging)\n- [Performance Monitoring](/products/performance)\n- [Remote Config](/products/remote-config)\n- [Test Lab](/products/test-lab)"]]