Architecture

A cloud-native AI platform built on Google Cloud.

CanadianBankNews is designed as a production-oriented platform for Canadian banking news, mortgage rates, AI-assisted mortgage guidance, saved scenarios, Mortgage Watch, analytics, and automated data workflows.

Google Cloud Architecture

Production services, data, AI, and operations

GOOGLE CLOUD PLATFORMProcess flow viewUSERFRONTENDAPI + AIDATAOPSUserSEO, ads, mobileContentnews, rates, guidesAI Advisorquestions, scenariosCloud RunNext.js web frontendUser action?ask, save, applyRate Alertsemail signup CTALender Clickbank referral pathCloud Run APIsauth, rates, advisorVertex AIanswers, summariesScheduled Jobsnews and rate refreshGA4 + Adsfunnels, conversionsCloud SQLusers, scenarios, eventsRate Cachedaily lender snapshotsCloud Loggingerrors and auditsInsightsadmin stats dashboardGitHubsource controlCloud Buildcontainer buildArtifact Reg.versioned imagesMCP Layerdeployable read-only opsUser flow: browser to Cloud Run, APIs call Vertex AI and Cloud SQL, data jobs refresh rates/news, GA4 tracks funnels, and MCP is implemented as a separate deployable read-only ops interface for AI tools.

End-to-End Validation

Playwright tests verify the user journey.

CanadianBankNews uses browser-based Playwright tests to validate production-like paths across the site: mortgage calculations, AI Advisor conversations, Mortgage Watch signup, credibility pages, and lender referral clicks.

Browser flows

Open pages, fill forms, ask AI questions, and verify visible results.

API integration

Confirm UI actions reach Cloud Run APIs for rates, advisor, auth, and emails.

Analytics checks

Protect key GA4 and dashboard events used for funnel measurement.

Release confidence

Run smoke and regression checks against dev and production URLs before promotion.

End-to-end path

User browser->Next.js UI->Cloud Run APIs->Cloud SQL / Vertex AI / GA4->Playwright assertions