# DRE Customer Portal — Backend Architecture Specification **Author:** Claude Opus 4-8 (System Architect) **Date:** 2026-08-21 **Status:** BUILD-READY — hand off to GLM-5.2 (backend) + Sonnet 5 (frontend) **Stack:** FastAPI + SQLite (single source of truth), magic-link auth, systemd + uvicorn behind Caddy --- ## 0. Scope & Principles This spec defines the FIRST production backend for DRE. It replaces the 12 static mockups' dead `