chatr

πŸš€ Deploying Chatr

This document describes how to deploy the Chatr application to Azure using Bicep and the Azure CLI. The Chatr application is a full-stack web application that consists of a frontend built with React and a backend API built with Azure Functions. The deployment process involves creating the necessary Azure resources, deploying the API to Azure Functions, and deploying the frontend to Azure Static Web Apps.

Pre-reqs:

Deployment Notes

A number of Azure resources are created as part of the deployment:

Roles are assigned from the Azure Function App’s system managed identity as follows:

Deploy using make

From the root of the project run

make deploy
  AZURE_RESGRP={Name of Azure resource group, will be created} \
  AZURE_REGION={Azure region to deploy to} \
  AZURE_PREFIX={Resource name prefix, e.g. mychatr}

You can also run:

Note when picking a value for AZURE_PREFIX, use something other than β€œchatr” as that will result in resource name clash!