A Templafy Content Connector for Giphy
- Clone the project
- Run
npm install
- Run
npm run watch
#Deploy
- Go to Giphy Developers page
- Create an account
- Create a new API app
- Grab the token for later use
- create an Azure Web App (Node 16)
- Press
Get Publish Profile
and copy all text - In github go to
Settings
>Secrets
- Create a new secret
secrets.AZUREAPPSERVICE_PUBLISHPROFILE
, and paste the text fromGet Publish Profile
- Open
.github/workflows/deploy_main_to_azure_web_app.yml
to adjust theapp-name
to match the name of your Azure Web App
- Enable the Custom Content Connector in the Templafy tenant
- Set Client ID to "None"
- Set Client Secret to the Giphy API token
Hint: For demo and test purposes the Templafy tenant's Custom Content conector can be configured to work with the local server. Simply use ngrok or similar tools to expose the local server's port 3000 to the internet.