> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 3.2 Prerequisites and Configuration

## Tooling

The repository supports local backend development with Python 3.11. The following Homebrew commands are one macOS setup path.

| Tool | Version or requirement |
| - | - |
| Git | 2.40 or newer |
| Python | 3.11 |
| Node.js | 22 LTS |
| pnpm | 11.21.0, as declared by the frontend package |
| Docker Desktop | Required for container steps |
| Azure CLI | 2.83 or newer |
| Azure Functions Core Tools | Version 4 |
| Bicep CLI | Installed through Azure CLI |
| Stripe CLI | Required for local webhook testing |

The source uses Azure CLI, Bicep, and Stripe CLI commands. If another operating system is required, add and verify a separate supported setup path before relying on it.

## Install the tools

```bash theme={null}
brew install python@3.11 node@22 pnpm azure-cli azure-functions-core-tools@4 stripe/stripe-cli/stripe
az bicep install
```

Verify each installation with its version command before continuing.

## Azure and environment configuration

The guide uses a dedicated sandbox subscription. Its tenant and subscription identifiers are redacted here.

```bash theme={null}
az login --tenant <TENANT_ID>
az account set --subscription <SUBSCRIPTION_ID>
az account show --query '{subscription:name,subscriptionId:id,tenantId:tenantId}' -o table
```

Replace placeholders only with organization-approved values.

The guide registers the resource providers needed by the Bicep deployment. Run registration only in the authorized subscription and verify all required providers report Registered.

Local configuration belongs in backend/.env, copied from backend/.env.example. Configure backend/local.settings.json from backend/local.settings.example.json when running Functions. Do not commit local settings, tokens, keys, or webhook secrets.

The example file names these settings: API origin, Cosmos endpoint and database, Blob account and containers, Content Safety and Document Intelligence endpoints, AI Search, Foundry project/model, Application Insights, Entra audiences, Functions endpoint/key, Stripe, email, and monthly quotas.

Credential values remain placeholders until provisioned through the approved local or Azure secret store.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.