Skip to content

Latest commit

 

History

History

cloud-functions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Cloud Functions

We use cloud functions to as to provide support for our services. Follow the documentation here.

Factsheet

Key Value
Project Type Firebase Cloud Functions

Contents

setUpNewAccount

This function creates a portfolio and a website object under a user's uid. It's triggered whenever a new user signs up to our service.

### sendEmail This is a callable function that sends an email using nodemailer. It uses the gmail account holistic.web.mailer@gmail.com and the password is set as an environment variable in firebase.

Deployment

Functions can be deployed with the following commands from this folder:

cd functions
npm install
cd ..
firebase deploy