AI Vision Client Portal (Capstone)
plannedA real client portal for my freelance business, deployed on Azure with Terraform.
Stack
- pnpm monorepo
- Express
- React
- PostgreSQL
- Azure
- Terraform
Links
portal.aivisionlabs.tech (not live yet)GitHub repo
Architecture notes
Goal
A real client portal for my freelance business, AI Vision.
Architecture
- pnpm monorepo:
apps/api,apps/web,packages/shared. - Express + TypeScript + Prisma + PostgreSQL; roles
ADMINandCLIENT. - File uploads to Azure Blob Storage using short-lived SAS URLs.
- AI assistant with tenant-scoped tools; email drafts need admin approval.
- Azure Container Apps deployed with Terraform and GitHub Actions (OIDC).
Key decisions
- Organization id comes from the session, never from the model or the request body.
- Cost control: smallest database tier, a budget alert and a runbook to stop everything.
This project uses a different domain, aivisionlabs.tech.