Skip to content

Latest commit

 

History

History

calls_firebase_cloud_functions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

in-app-calls-demo

Cloud functions needed for TBR Group in-app calls application.

Code Formatter

  • Use Prettier as the Default Formatter
  • Disable ESLint

Project Environment

The project uses 6 secret keys:

The project secretes are stored in the Secret Manager. So you need to add your secrets to the Secret Manager before or during the cloud function deployment to make them work.

Deployment

To build Cloud Functions, the following have to be installed:

Follow these steps to prepare your functions and deploy:

  • Switch your project to there you want to deploy cloud functions
// $PROJECT_ID is a Firebase Project ID (like 'in-app-calls-demo')
firebase use $PROJECT_ID
  • Install node modules
cd functions && npm install
  • Run deploy script
cd functions && npm run deploy