Small Cloud Functions to notify about low balance on the configured walllet address.
That service notify using the email service.
The template used you can find it here:
It's use email-templates that uses pugjs under the hood.
Generating compatible email html to be send.
EMAIL_FROM_DEFAULT= #email address appears like sender
POSTMARK_SERVER_API_TOKEN= # token api to send emails
LIST_EMAIL_TO= # list of email to send the notifications
The Continuous Deployment (CD) is made by Google Build only when new tag version is created. (Tag name need match that regex: v*)
-
Install dependencies:
yarn install
-
Run the tests:
yarn test