Written in TypeScript (powered by webpack), deployed to Azure Functions with the serverless framework and its Azure plugin.
serverless.yml
-> serverless framework configsrc
-> source code
Build & Deploy
yarn install
yarn build # compile typescript
yarn run deploy # deploy to azure
yarn run clean # delete all cloud resources
Interactions with Azure require the following environment variables (see serverless docs):
AZURE_SUBSCRIPTION_ID='XYZ'
AZURE_TENANT_ID='XYZ'
AZURE_CLIENT_ID='XYZ'
AZURE_CLIENT_SECRET='XYZ'