Contoso Real Estate: an enterprise JavaScript reference architecture on Azure

JavaScript teams building on Azure needed a realistic, multi-service reference they could deploy with one command, study and adapt, not another single-service sample.

Role
Top contributor: infrastructure, deployment and back-end integration
Period
2022 – 2024 (repository created September 2022, now archived)

Context & problem

Contoso Real Estate is a reference architecture for composable front ends (micro-frontends) and cloud-native JavaScript applications on Azure.

The app is a rental portal with a headless CMS and blog, Stripe payments, real-time notifications and an AI chatbot. It is split into an Angular portal on Static Web Apps, an Azure Functions API, and a Next.js blog, Strapi CMS, Stripe service and notification service on Azure Container Apps.

It had to deploy end to end with the Azure Developer CLI (azd) and run in GitHub Codespaces, so developers could explore it without manual setup.

My role & scope

  • Top contributor to the repository: 202 commits and 36 merged pull requests, ahead of Yohan Lasorsa (149 commits) and Natalia Venditto (100).
  • Infrastructure as code: Bicep and azd integration linking Static Web Apps, Azure Functions, API Management and Azure Container Apps, plus an azd hook that restores the CMS database after provisioning.
  • Back-end features: listings and favourites APIs, user sessions stored in the database, and built-in authentication and authorization.
  • Developer experience: dev container and Codespaces setup, continuous deployment and a Jest test setup across the monorepo.
  • Kept the sample deployable: fixed major dependency breakages across services and made the notification service optional.

Key decisions

Deploy every service with one Azure Developer CLI (azd) command, using Bicep and lifecycle hooks.

Rejected alternative
Per-service deployment scripts and manual Azure Portal steps documented in the README.
Trade-off
The template is tied to azd's conventions and broke when azd changed; azd support was even removed temporarily (#180) before coming back. Accepted because one-command deployment is what makes a reference architecture easy to explore.

Seed the CMS by restoring a database snapshot in an azd postprovision hook.

Rejected alternative
Asking developers to create CMS content by hand after deploying.
Trade-off
The snapshot has to be kept in step with the Strapi schema. Accepted so the blog has content on first run.

Make the real-time notification service optional.

Rejected alternative
Always deploying every service.
Trade-off
More configuration paths to document and test. Accepted so a first deployment needs fewer services and has fewer ways to fail.

Who I aligned

  • Fellow contributors, including Yohan Lasorsa and Natalia Venditto, through issues, pull requests and reviews.
  • Developers deploying the template, through GitHub issues such as the dependency breakage in #386.

Outcomes

  • 975 stars and 528 forks on GitHub (December 2026). Forks ↗
  • End-to-end deployment with the Azure Developer CLI and a one-click GitHub Codespaces environment. README ↗
  • Restored all services after major dependency breakages (#416). Pull request ↗

What outlived me

Lessons

  • Reference architectures decay quickly: dependency and tooling changes broke deployments more than once, so a sample needs an owner and CI, not just a launch.
  • Make optional what most people won't need on day one. Every extra service is one more thing that can fail to deploy.

Evidence & sources

Explore this site with your AI agent

Read my profile, projects, and engineering case studies without navigating every page.

WebMCP · in your browser

Open wassim.dev in a browser with experimental WebMCP support enabled, then use a WebMCP-compatible browser agent. Every page exposes three read-only tools:

get_profile_summary
My bio, skills, and current role
get_case_studies
Engineering decisions, trade-offs, and outcomes
get_full_content
Projects, talks, articles, and achievements

Try asking: Use get_case_studies to summarize Wassim's engineering work.

WebMCP is experimental and is not available in every browser or assistant. See the WebMCP specification for details.

MCP · from your assistant

Connect an MCP server with a web-fetch tool to your assistant, then ask it to read one of these public URLs:

Try asking: Fetch https://wassim.dev/llms.txt and tell me about Wassim's experience.

No site login or API key is needed. This site publishes an MCP discovery card, not a direct MCP server endpoint; use your assistant's fetch tool rather than adding wassim.dev as an MCP server.