Esmeralda C. Cabrera Ventura ← Articles Dossiers Project details Portfolio LinkedIn
Engineering Dossier Client Engagement · Azure Live · release v14

Menifee Maids Platform

A bilingual cloud booking, payments and operations platform for a two-person cleaning company — designed, built, deployed and supported on Microsoft Azure for about $1.70 a month.

Design, Build & Support
Esmeralda C. Cabrera Ventura
Cloud & Full-Stack Developer · Client engagement · Live at menifeemaids.com
Scope of this document
A technical account of a delivered client engagement: requirements under hard constraints, the seven-service architecture, the decision records behind it, the production incident that never reached customers, the test harness, the cost model and the roadmap. Customer records shown are demonstration data.
Engineering Facts
Microsoft Azure · West US 2 · release v14

Projected monthly cost, before SMS~$1.70

Azure services integratedplus Stripe, GitHub Actions and DNS7

HTTP API endpointsplus scheduled and queue-driven functions13 + 5

Application codefront end, API and background jobs~13.5k lines

Languages supported~380 translated interface strings2

Automated end-to-end checksagainst the real API code, rerun every release130+

Versioned releases shipped14
Success criteria met6 of 6
Customer bookings lost to the incident0

Staff sync cycle45 s

A two-person business cannot carry a meaningful monthly software bill. That single constraint eliminated whole categories of design before the first resource was created, and it is visible in every decision record in section 04.
01
Engagement

Phone calls, text threads and a paper calendar

The constraints were the brief, and the hardest one was the budget.

Menifee Maids is a family-owned residential, commercial and post-construction cleaning company serving fifteen cities in Western Riverside County, California. The owner works on job sites most of the day, often with a weak phone signal; a part-time helper assists. Before this engagement, requests arrived by phone and text, availability lived on paper, and there was no reliable record of which jobs had been paid.

I was responsible for the whole engagement: requirements analysis, solution architecture, Azure provisioning, front-end and API development, payments integration, CI/CD, DNS and email deliverability, security, test design, production troubleshooting, vendor escalation and client documentation.

The five problems

  • Lost and double-booked requests — no single source of truth for who asked for what, and when
  • A language gap — much of the service area is Spanish-speaking, but competitors' sites are English-only
  • Slow payment collection — invoices by hand, no card payments, no automatic reconciliation
  • A phone-first reality — any tool had to work one-handed, between jobs, on a poor connection
  • A tight budget — a two-person business cannot carry a meaningful monthly software bill
Near-zero fixed cost is not a feature you add at the end. It decides the architecture before the first resource exists.
#Success criterionResult
S1A customer can book online in either language and receive a confirmationMet verified in production
S2Staff on different phones see the same jobs within a minuteMet 45-second pull, ~1.5 s push
S3Card payments reconcile without manual entryMet webhook verified sandbox and live
S4No booking is lost if a backend component failsMet direct write with queue fallback
S5Fixed monthly infrastructure cost near zeroMet ~$1.70/month projected
S6Background reminders and archiving run unattendedMet after the incident in section 06
02
System

One front door, seven services behind it

Customers and staff only ever talk to the Static Web App and its built-in API.

ComponentPlan / configurationResponsibility
Website and dashboardsStatic Web Apps Free · Node 22 managed API20 pages, offline shell, built-in Microsoft sign-in and route rules
HTTP API13 managed endpointsBookings, jobs, payments, photos, messaging, settings, health
Background jobsLinux Consumption · system-assigned identityReminders, archiving, customer roll-up, queued bookings
DatabaseCosmos DB for NoSQL · free tier · 1,000 RU/s sharedJobs, payments, availability, settings, customers
Files and queueStorageV2 · TLS 1.2 · HTTPS only · no public blobsJob photos, archive, booking fallback queue and poison queue
EmailCommunication Services · custom domain · SPF/DKIM verifiedAll customer and owner email, sent from the client's own domain
PaymentsStripe · Checkout Sessions · restricted keyCard collection, signed webhooks, payouts, receipts
DeliveryGitHub repository + ActionsTwo workflows deploying site/API and the Function App on every push

What the free tier costs you

Managed functions inside Static Web Apps are HTTP-only and have no managed identity. Two consequences follow, and both shaped the design: the website's API holds keys in environment variables rather than using identity-based access, and anything on a timer or queue trigger needs a separate Function App. That background app runs on its own plan with a system-assigned identity holding database and storage roles, so no secrets live on it at all.

One region throughout, because Static Web Apps is not offered in the region originally considered.

The public homepage in English
Public site, EnglishServices, instant pricing, service area and a five-step booking flow.
The public homepage in Spanish
Public site, SpanishParallel pages with a language switch on every one — around 380 translated strings in vocabulary suited to the local community.

Identity and access

Staff sign in with Microsoft accounts through the platform's built-in provider. There is no app registration to maintain and no passwords are stored. Roles are custom and assigned by invitation, and access is enforced twice: route rules stop unauthorized requests at the edge, and each API function re-checks the caller's role from the platform-signed principal header.

One deliberate detail in that check: being authenticated deliberately does not count. It only means the caller has a Microsoft account, which anyone can get. The custom roles are what actually restrict access.

03
Offline

The office is a job site

An offline-first dashboard with a three-way merge, because staff work from phones on a weak signal.

The dashboards install to a phone's home screen and read and write a local working copy. A sync engine pulls every 45 seconds — and on open and on reconnect — pushing about 1.5 seconds after a change. Merging compares local against cloud against a last-agreed snapshot, which is what makes conflicts resolve deterministically rather than by luck.

Rule 01
Local edit
Push it. The device changed something the cloud has not seen.
Rule 02
Remote edit
Take it. Another device changed something this one has not seen.
Rule 03
Both changed
Newest wins, decided against the last-agreed snapshot rather than guessed.
Rule 04
Mass disappearance
If more than three records vanish at once, restore rather than delete.
Guard

A device never pushes before its first successful pull, so a stale copy cannot overwrite newer data. The mass-disappearance guard exists because the failure it prevents — a sync bug quietly emptying the business's job history — is unrecoverable in a way that a sync delay is not.

The staff request inbox with booking cards
Request inboxEach booking carries a first choice and a backup, so the common case resolves in one tap. Records shown are demonstration data.
The availability calendar in the staff dashboard
AvailabilityThe calendar the owner or helper edits, and the source the public booking flow offers slots from.
The job database with totals, filters, export buttons and per-job payment status
Job databaseSearchable, with outstanding and collected totals and PDF or CSV export — the record of what was paid that the business previously did not have.
The booking flow on a phone, in Spanish
Booking, phone, SpanishOnly open, future slots are offered, judged in business time rather than the visitor's.
04
Decisions

Ten records, context and consequence

Each significant decision written the way an architecture decision record is written on a team.

DecisionWhyConsequence accepted
Static Web Apps Free with a managed APIHosting, API and staff sign-in at no fixed costOne deployment, free TLS and custom domain — but HTTP-only functions with no managed identity, so scheduled work needs a separate app
Cosmos DB free tier, manual throughputJob records change shape as the business evolves; cost must stay near zeroSchemaless JSON suits evolving records. Autoscale deliberately avoided because it can climb past the free allowance
Per-item TTL instead of a purge jobClosed jobs should not accumulate foreverDeletion is free and cannot fail — but the archive job becomes load-bearing, which raised the priority of fixing the Function App
Bookings write directly, queue as fallbackThe original design queued every booking; when the background app could not start, bookings sat in the queueThe customer path no longer depends on the background tier. The fallback writer is create-only, so a delayed copy cannot overwrite staff edits
Offline-first with three-way mergeStaff work from job sites with a weak signal and several devicesFast and offline-capable; conflicts resolve deterministically and a guard restores rather than deletes
Server-side Checkout per invoiceA single pasted link cannot vary the amount and can be tampered withPrices cannot be changed by editing a link; payments mark themselves paid; card data stays with Stripe, keeping PCI scope minimal
Human-reviewed customer messagingThe client wanted control over the wording of every messageOne extra tap per message, accepted deliberately in exchange for control
Photos by attachment and private linkWeb pages cannot attach files to an email or text opened in another appThe platform sends the email itself with attachments; texts carry an HMAC-keyed link that cannot be guessed or edited to show another job
Background jobs on a separate app with managed identityTimers and queue triggers are unavailable in managed functionsNo secrets on that app. Its plan reaches end of support in 2028, so migration is on the roadmap
Business-time schedulingVisitors could be anywhere; the business runs on Pacific timeNo past or imminent slots offered, and reminders fire at 5 PM local rather than 5 PM UTC
05
Payments

The browser never decides the amount

Server-authoritative checkout, reconciled by a signature-verified webhook.

A payment request reads the stored amount and status from the database, creates a Checkout Session on the server, and redirects the customer to the payment provider's own page. The customer pays there; a signed webhook arrives, is verified, and marks the invoice paid. Every dashboard shows "Paid" on its next sync, and the job closes when it is both done and paid.

The live key is a restricted one carrying exactly two permissions: write Checkout Sessions, read Payment Intents. That is the entire capability a compromised key would grant.

The customer-facing pay page showing service, job number and amount due
Customer viewThe amount comes from the database, not from the link. Payment links carry unguessable tokens and can expire or be replaced.
The payment received confirmation page
Verified liveConfirmed end to end with a real transaction in live mode, then reconciled automatically.
Prices that live in a URL are prices a customer can edit. Moving the amount to the server is the difference between a payment link and a payment system.
06
Incident

A production component that never started

The most demanding problem of the engagement. The business kept running throughout.

503
App and deploy endpoint
0
Worker instances
3
Faults, stacked
0
Customer bookings lost

Symptom. Both the background Function App and its deployment endpoint returned 503. The portal showed runtime version "Error" and the functions list would not load.

Impact. Reminders, archiving and customer roll-ups could not run. Customer bookings were unaffected, because of a mitigation shipped while the cause was still unknown.

Root cause. The app had been created on Node.js 24, which the CLI recommended after refusing Node 20 as end-of-life. The hosting plan did not support Node.js 24, so no worker could start.

Azure diagnostics reporting the host runtime unavailable and the app running on zero worker instances
The diagnostic that named itThe host runtime was unavailable for a sustained period and the app was running on zero worker instances, so no code could execute.
StepFinding
App created from Cloud ShellNode 20 refused as end-of-life; Node 24 used, as advised
Publish from the workstationWrong account and tenant, then a missing worker runtime — both fixed, neither the cause
Publish with an explicit language flagPackage uploads, but syncing triggers fails
Remote build and CI workflowDeployment endpoint unavailable (503)
Configuration reviewPublishing restrictions, settings and network access all ruled out
Attempted runtime switch from PowerShellThe pipe character in the version string was read as a shell pipe; the change never applied
Diagnose and solve problemsThe app was running on zero worker instances
App rebuilt from scratchSame fault reproduced, so not a corrupted app
Mitigation shippedBookings written directly to the database; customers unaffected
Support case openedFull evidence attached; vendor reproduced it
Vendor responseNode.js 24 unsupported on this plan; Node 22 advised
Fix appliedNode 22 in the portal; runtime healthy immediately; workflow aligned
Deploy fails with 401Publish profile stale; secret replaced
Deploy succeedsAll five functions deployed
A CI run failing at the deploy step with repeated 401 unauthorized errors
The last layerA stale deployment credential — which looks nothing like the runtime fault underneath it, and would have been misleading if diagnosed first.
Anything customers depend on shouldn't hinge on a background component. That decision was made while the cause was still unknown, and it is why the incident cost the business nothing.

Other case studies, same loop

A dozen smaller issues followed one pattern: reproduce, hypothesize, change one variable at a time, fix the cause rather than the symptom, then add a check so it cannot return silently.

  • Bookings never reached the database. The page and dashboard shared one browser's storage, so a "successful" booking existed only on that device. Fixed by server-side writes and the sync engine
  • Past time slots were offered. The date was checked but not the time of day, and the visitor's time zone was used. Fixed with business-time filtering, a one-hour lead and API-side enforcement
  • Photos went missing from texts and emails. Browsers cannot attach files to another app. Fixed with platform-sent email carrying attachments, and private HMAC-keyed links for texts
  • Customers were emailed before review. Messages sent automatically. Fixed with a preview-first panel requiring an explicit Send
  • English text in the Spanish portal. A sentence split around a link and a template table misused. Fixed, and a full-portal scan now runs clean
  • Business mailbox closed. Found when a test email bounced; replaced across 31 places in 14 files
07
Quality

Tested against the real code

Not against mocks of my own API — against the actual handlers, every release.

A local harness runs the real API handlers behind a small HTTP server, with in-memory stand-ins for the database, blob storage, the queue, email and payments. It also simulates the platform's sign-in, so tests can act as an owner, a helper or an anonymous customer. A headless browser then drives the real pages at desktop sizes and as a phone, with simulated clocks and time zones where needed.

SuiteChecksWhat it proves
Cross-device sync25Two staff phones and a customer stay consistent through create, confirm, reschedule, pay, photos and delete
Customer notifications29Every message type in both languages; nothing sends without an explicit Send
Payments, live mode23Server-set amounts, tampered links rejected, forged webhooks rejected, paid status syncs
Payments disabled path7Graceful behaviour before card payments are switched on
Photos and attachments22Attachment limits, private photo page, HMAC links, Spanish variants
QR hand-off16Generated QR images decoded to confirm the exact number and message
Device detection4Phones, including desktop-site mode, get the one-tap text button
Background-job markers4Reminder and roll-up markers survive dashboard edits
Latest release features33Calendar at four times of day, an out-of-state visitor, a page left open, API rejection, helper payment links in both portals
Layout13 × 7No hidden menu links and no sideways scrolling from 320 px to 1,280 px
Spanish portal scanAll statesNo English text left in the Spanish helper portal
When a check failed because of the test itself, I fixed the test and reported it — rather than weakening the product to make the suite green.

Every suite was rerun on every release. Visual changes were reviewed in rendered screenshots at phone and desktop sizes before shipping, and each release was verified in production with the client afterwards: cache version, sign-in, a booking, a payment and a message.

08
Security

Defense in depth at the edge, the API and the data

Designed in from the first phase, with the open items named.

AreaControl
IdentityMicrosoft sign-in; invitation-only custom roles; two-step verification on staff accounts; no stored passwords
AuthorizationRoute rules at the edge, plus role re-checks in every function from the platform-signed principal header
SecretsEnvironment variables and encrypted CI secrets only; nothing in the browser or the repository
Managed identityThe background Function App uses identity-based roles and holds no keys
PaymentsHosted checkout; amounts from the database; signed webhooks; restricted live key with two permissions
FilesPrivate container; short-lived signed upload and read URLs; photos re-encoded on the device, which strips location data
Customer linksUnguessable payment tokens; HMAC-protected photo links; expiry and replacement of payment links
TransportHTTPS only; TLS 1.2 minimum on storage and the database
MessagingOpt-in recorded with a timestamp; opt-out wording enforced; carrier registration required before automated SMS
Cost guardrailsFree tier with a throughput cap; budget alert; upload and attachment limits

Open items, stated rather than omitted

  • Rotate the keys and deployment credential that were visible during setup — scheduled in the roadmap
  • Replace sample testimonials with genuine reviews before promoting them

Privacy-preserving documentation

Preparing the report was itself a security exercise. Captures exposing storage keys, a messaging access key, signed storage URLs or a telemetry key were excluded outright. Personal details used as test data — phone numbers, email addresses, a street address, an IP address and a scannable QR code — were located by OCR and blurred automatically, and a deployment-credential line was redacted.

09
Operations

Cost, releases and handover

The client can deploy a release with no developer present.

LinePlanMonthly
Static Web AppsFree$0.00
Cosmos DBFree tier, 1,000 RU/s shared$0.00
Azure FunctionsConsumption$0.00
Blob storage (~5 GB)Standard LRS~$0.15
Storage queueStandard~$0.01
Application InsightsFree allowance$0.00
Email (~800 messages)Pay as you go~$0.30
Domain (amortized)Registrar~$1.25
Total without SMS—~$1.70
SMS: number, campaign, ~600 segmentsPay as you go~$8.80

Figures come from the project's cost model at roughly 200 jobs a month. Enabling automated texting adds a one-time carrier registration fee, and card payments carry the provider's standard per-transaction fee. A budget alert guards against unexpected changes.

Release procedure

Each release is packaged as a versioned archive with a file list and a cache-version bump, compared against the client's last deployed version to produce the exact list of changed and new files. A PowerShell script unpacks and checks the version, refuses to run on a repository with uncommitted changes, copies the files, stops on untracked files, then commits and pushes. CI deploys; the client confirms the green check and runs the post-release checks.

That refusal to run against a dirty repository is the detail I would defend hardest. The script is operated by someone who is not a developer, and the failure it prevents — silently committing work in progress — is one they would have no way to diagnose.

10
Status

Delivered, and what comes next

Ordered by value to the client.

CapabilityStateNote
Bilingual public site and bookingLiveInstant pricing, real availability, confirmation in the customer's language
Staff dashboards with cloud syncLiveInstallable, offline-capable, owner and helper roles in both languages
Card payments and reconciliationLiveVerified in live mode with a real transaction
Customer messaging and photosLiveReviewed before sending; photos by attachment and private link
Background reminders and archivingLiveRestored after the incident in section 06
Key rotation and launch contentNext 30 daysRotate setup-era credentials; real reviews; cancellation and refund policy; alerts on failed background jobs
Company texting number1–3 monthsOne business number with replies in an owner-only inbox; needs carrier registration
Hide customer contact details from helpers1–3 monthsProtects the client base as the team grows
Plan migration3–12 monthsMove background jobs ahead of the hosting plan's end of support in 2028
AI quoting and job summariesProposedCustomers photograph rooms; a vision model fills in counts and condition, while pricing still comes from the client's own rules

Lessons

  • Check the support matrix, not just the tool's advice. One unsupported runtime version stopped every background job
  • Keep the critical path short. Anything customers depend on shouldn't hinge on a background component
  • Verify where data lands, not what the screen says. A local-only dashboard looked like it worked
  • Test assumptions about external systems. One test email exposed a closed mailbox
  • Design with the platform's limits. Attachments, texting and contact selection all needed alternate paths
  • Document as you go. The screenshot log made the support case, the client runbooks and the report possible
What this engagement demonstrates

Architecture under a real constraint


A seven-service design held near-zero fixed cost through deliberate choices rather than luck: a free database tier with capped throughput, free static hosting, consumption-based functions and pay-per-message email. When a dependency failed, the customer-facing path was moved off it entirely, so customers never saw the outage.

The work that is hardest to show in a screenshot is the part I would point at: the decision records with their costs written down, the test harness that runs the real handlers, and a release process a non-technical client can operate alone.


Azure Static Web Apps · Azure Functions · Cosmos DB · Blob & Queue Storage · Communication Services · Stripe · GitHub Actions · Node.js

Read the article →  ·  Visit the live site  ·  All project details  ·  LinkedIn