- 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
- Architecture diagrams and scenario guides in the repository
- The repository is now archived, and its README says deployment with azd is no longer guaranteed.
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
- Repository — Azure-Samples/contoso-real-estate
- Contributors — Azure-Samples/contoso-real-estate
- Merged pull requests by manekinekko
- PR — Better azd and Bicep integration (#173)
- PR — Built-in authentication and authorization (#100)
- PR — User sessions and favourites in the database (#112)
- PR — Fix major dependency issues (#416)
- PR — Make the notification service optional (#446)