This template provides an example on how to use serverless infrastructure to integrate RELE.AI. This example is built using Google Firebase Functions.
This template is associated with Going Serverless with Google Firebase Functions tutorial
- Google Cloud Account
- Firebase CLI
- Latest RELE.AI CLI
Initiate a project using this template by running the rb create command:
rb create serverless -t rele-ai/firebase-functions-integration-template#main
it will ask you for a Region and a Project ID
? Google Functions Region `us-central1`
? Google Project ID `Project-ID`
From the serverless/functions directory, install the local dependencies:
npm installFrom the serverless/functions directory, run the following command:
npm run deployTo remove the workflows and the cloud functions, run the following command:
npm run cleanup