Firebase cloud functions for utahexpungements.org. This is what sends us emails when people sign up on utahexpungements.org.
cd utah-expungements-cloud-functions/functions
npm install
Now go to firebase and generate a service account key json file.
Create a file called service-account-key.json
inside of the functions
directory.
Now you can make changes to the code. To deploy to firebase, run npm run deploy
. Deployments
only happen locally -- they aren't triggered automatically.