You can also use the firebase functions:log command to view cloud function logs Firebase functions:log helloworld this is just a brief introduction to deploying and managing serverless code using firebase cloud functions With this knowledge, you should be able to create, deploy, and manage your own cloud functions To get started with cloud functions, try working through this tutorial, which starts with the required setup tasks and works through creating, testing, and deploying two related functions An add message function that exposes a url that accepts a text value and writes it to cloud firestore A make uppercase function that triggers on a cloud firestore write and transforms the text to.
For this first article i plan to keep things simple and just introduce how to set up a firebase project to use cloud functions, as well as how to deploy a basic hello world function. Trying multiple functions deploy, only one get actually deployed (as indicated by cloud console), but cli reports all failing Firebase cloud functions let you run backend code without managing servers The function executes and redirects the browser to the firebase console at the database location where the text string is stored This write event triggers makeuppercase(), which writes an uppercase version of the string This is how you can deploy functions to firebase, you can read more about use cases for cloud functions.