https://github.com/simply007/kontent-webhook-processing-function-js
Kentico Kontent Webhook Processing Javascript Azure Function Template
https://github.com/simply007/kontent-webhook-processing-function-js
azure azure-functions caas headless javascript kentico-kontent webhoo
Last synced: about 1 month ago
JSON representation
Kentico Kontent Webhook Processing Javascript Azure Function Template
- Host: GitHub
- URL: https://github.com/simply007/kontent-webhook-processing-function-js
- Owner: Simply007
- Created: 2019-10-17T00:59:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-17T01:10:17.000Z (over 6 years ago)
- Last Synced: 2025-04-04T22:28:11.222Z (about 1 year ago)
- Topics: azure, azure-functions, caas, headless, javascript, kentico-kontent, webhoo
- Language: JavaScript
- Homepage: https://docs.kontent.ai/tutorials/develop-apps/integrate/using-webhooks-for-automatic-updates
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kentico Kontent Webhook Processing JavaScript Azure Function Template
[](https://gitter.im/Kentico/Kontent)
[](https://stackoverflow.com/tags/kentico-kontent)
> Pretty long name, right?
## Prerequisites
Follow the [instructions](https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local) to enable local Azure function development.
## Get started
> Using VS Code IDE recommended
1. Clone the repository
```sh
git clone https://Github.com/Simply007/kontent-webhook-processing-function-js
```
1. [Create a webhook](https://docs.kontent.ai/tutorials/develop-apps/integrate/using-webhooks-for-automatic-updates#a-creating-a-webhook) in Kentico Kontent
1. Rename [`local.settings.json.template`](./local.settings.json.template) to `local.settings.json` and set the `KONTENT_WEBHOOK_SECRET` value to the secret of created webhook for [verification](KONTENT_WEBHOOK_SECRET)
1. Implement webhook processing in [index.js](/ProcessWebhook/index.js#L26)
1. Use [Azure Functions Extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions) to deploy the Azure function.