April 2018
Intermediate to advanced
284 pages
6h 43m
English
Let's create an empty project directory called cloud-functions. We will run the following command from the newly created cloud -functions directory to initialize the Cloud Functions:
firebase init functions
This command will walk you through a wizard with different steps and will create the necessary files for your projects. It will ask for your preferred language: Javascript or TypeScript. We will go with the Typescript for this sample. It will also ask you whether you want to associate any existing firebase projects or want to create a new project to associate with it. We will select an existing project. It also asks you if you want it to install the required node dependencies. We will say yes so ...