Firebase cloud functions
Put very simply, Firebase cloud functions are pieces of javascript code that reside on the server and run each time a request from the client is made.
Each such request has meta information - context - from which we can extract authentication information, such as the user id. Each request also has a data object, to which we can pass information from the client.
Here is how one can call a cloud function from the client:
And here is how the function responding to this user call looks like:
Last updated
Was this helpful?