@robinpay/cloud-functions

0.1.4 • Public • Published

RobinPay Cloud Functions

RobinPay is powered by serverless functions that do all the hard work.

Installation

To reuse business logic from cloud functions, simply install the package through npm. This will include everything except the cloud function implementations.

npm install @robinpay/cloud-functions

Environment Variables

All environment variables must be lowercase.

Name Description
robin.channel The release channel (ex: alpha, beta). Leave blank for prod
robin.domain The domain of Robin (ex: robinpay.app)
sendgrid.apikey SendGrid API key
sendgrid.from SengGrid from email (ex: No Reply <noreply@robinpay.app>)

Setting Environment Variables for Firebase

Make sure you have firebase-tools installed then run

firebase functions:config:set robin.channel=alpha robin.domain=robinpay.app sendgrid.apikey=sg_key sendgrid.from=noreply@robinpay.app

Readme

Keywords

none

Package Sidebar

Install

npm i @robinpay/cloud-functions

Weekly Downloads

0

Version

0.1.4

License

BSD-2-Clause

Unpacked Size

67.9 kB

Total Files

113

Last publish

Collaborators

  • kevin.aung