open-index/open-npm huggingface dataset:
npm package: @robinpay/cloud-functions
Description: Cloud functions for RobinPay
Author: Kevin Aung
Latest version: 0.1.4

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](https://github.com/firebase/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
```