Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Create Azure resources

Wassim Chegham edited this page Jan 31, 2023 · 4 revisions

Welcome to Contoso Real Estate app.

In this page, we will walk you through the steps to provision and deploy the Contoso Real Estate app to Microsoft Azure.

Prerequisites

Provision Azure resources

The Contoso Real Estate app uses the following Azure resources:

Application architecture (simplified)

The Contoso Real Estate app is a full-stack web application that uses the following technologies:

The following diagram shows the application architecture of the Contoso Real Estate app.

graph LR
    U[User]
    X[Admin]
    A[Portal] 
    B[API]
    C[Blog]
    D[CMS]
    E[PostgresSQL Database]
    F[MongoDB Database]
    U --> A
    U --> C
    X --> D
    A --> B
    B --> E
    B --> F
    C --> E
    D --> E
Loading

Provision Azure resources

Create Azure Static Web Apps using Azure CLI

  1. Login to Azure.
az login
  1. Set the default subscription.
az account set --subscription <subscription-id>
  1. Create a resource group for the Contoso Real Estate app.
az group create --name contoso-real-estate --location westus
  1. Create an Azure Static Web Apps resource for the Portal app:
az static webapp create --name contoso-portal --resource-group contoso-real-estate --location westus --sku Free

Create Azure Container Apps using Azure CLI

  1. Create an Azure Container Apps resource for the API app:
az containerapp create --name contoso-api --resource-group contoso-real-estate --location westus --sku Free
Clone this wiki locally