novelrt / NovelRT-Azure-Functions

Azure functions repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NovelRtContributors

Method: GET /

Returns contributors in the NovelRT org with contributions summed across all org repos.

Deployment

Set the following environment variables in local.settings.json (for local deployment) or in Azure portal (for prod deployment).

Referencing a key vault instead of storing the secrets directly in the function's configuration is recommended for production deployment.

For instructions how to do that see: https://docs.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-azure-function-app-settings and https://docs.microsoft.com/en-us/azure/app-service/app-service-key-vault-references

GITHUB_APP_ID

This is the GitHub App ID.

GITHUB_INSTALLATION_ID

The ID of the installation of the GitHub App in NovelRT org

GITHUB_API_KEY

The GitHub API key for the app.

Helpful command so you can just copy-paste the string:

awk '{printf "%s\\n", $0}' key.pem

About

Azure functions repository.

License:MIT License


Languages

Language:TypeScript 95.8%Language:JavaScript 4.2%