Firebase Cloud Functions with Swift

I am becoming a big fun of Serverless architecture in the cloud and recently started reading a lot on how to build RESTful Web Services in the Cloud without starting your own server. Of course, I quickly came across Firebasebase Cloud Functions and I liked it a lot. Firebase Cloud Functions is one of those technologies that we can use to run our code in the cloud(Google) without a need to start up and manage our own server.

In this blog post, I am going to share with you a few videos I have recorded recently on how to set up Firebase Cloud Functions on your Mac computer. I have recorded many more videos on how to use Firebase Cloud Functions and Firebase in general and have published them here:

If you are looking for a particular Swift code example on how to do something with Firebase, please let me know and I might choose this example to work on next and publish it here on my blog. And not to miss this new video tutorial or any other video tutorials on Firebase and Swift, do subscribe to my blog so you can receive these video tutorials on time and free :).

Firebase Cloud Functions: A brief introduction

Installing Homebrew and Node.js

To be able to install Firebase Cloud Functions on your Mac computer so that you can deploy Firebase Cloud functions to Firebase, you will need Node.js installed on your computer. Homebrew will make installing of Node.js much easier. And in the video tutorial below I am going to show you how to install Homebrew and how to use Homebrew to install Node.js.

Set up and Initialize Firebase SDK for Cloud Functions

The next step in getting your Firebase Cloud Functions to work is to set up and initialize Firebase SDK for cloud functions and the video tutorial below will teach you how to do that.

Creating .gitignore file with Microsoft Visual Studio Code Editor

Write and Deploy Hello World Firebase Cloud Function

In this video tutorial, you will learn how to write and deploy to Firebase a very simple Hello World Cloud Function.

Read HTTP Request Parameters from URL Query String

And in this short Firebase Cloud Functions tutorial, you will learn how to make your Cloud Function read HTTP Request Parameters from URL query string.

I have recorded many more video tutorials on how to use Firebase and Swift together and have published them as a single video course called Firebase and Swift: Practical Examples. Have a look at it because you might find some of them useful for your project.

If you do not find a video lesson on Firebase you are looking for in the list of my videos here: then you might want to check a list of video courses on Firebase I am listing below. Have a look at their description and a curriculum and hopefully you will find what you need!

Happy learning!