Café Fausse knowledge map

Not the restaurant. MVP = official SRS freeze.

Local (dev) vs AWS MSAIE staging — architecture comparison

Audience: Architecture talk (Part 3 NATURAL) + Knowledge Stack/HLD fold-in. On camera: use the natural spoken beats in Part 3 natural script / Part 3 natural VO (architect lens). Prefer MSAIE staging / cafe.artof.link language. Frame local vs AWS as an architect deploy decision, not an ops tour. Also folded into Stack. This table is camera-safe: Local (dev) · Vite + Flask + local Postgres vs MSAIE staging at cafe.artof.link (tip 73d202d). Host-vendor / machine nicknames are not in the table — see the footnote below. No FR/NFR IDs required here.

Demo focus: cafe.artof.link = staging environment for the MSAIE project (temporary — not production forever). Presentation host.


Same architecture (both sides)

React + JSX frontend → Flask API → PostgreSQL (FR/NFR MVP). Fail-closed without DB.

Why local and MSAIE staging — same architecture, two deploy targets

Local (dev)AWS MSAIE staging
What was usedLocal (dev) · Vite + Flask + local PostgresDeployed staging at cafe.artof.link — MSAIE project staging
Explanation — what it is forCoding, iteration, and CI-adjacent work without touching the shared demoShared public HTTPS host graders (and the team) can open; same product surface Meghna walks
Rationale — why bothFast local iterateProve the same stack on a public HTTPS host; one URL for the talk
Implementation — how stood upFlask + local Postgres; Vite/dev frontendCaddy (TLS) → Flask container → on-box Postgres (MSAIE staging) — not a shared RDS
StackReact+JSX → Flask → PostgreSQL; fail-closed without DBSame design: React+JSX → Flask → on-box PostgreSQL; fail-closed without DB
Host tip (current)Developer machinecafe.artof.link tip 73d202d (presentation host)
NewsletterStore-only until SES env wiredStore-only until SES env wired (do not claim outbound SES)
HonestyNot the public demo URLTemporary MSAIE staging — not production forever; not a shared RDS

Off-camera footnote (not the on-camera table): host vendor Lightsail, developer-box nickname cts-ai, and Windows clone path C:\projects\code\aea-interactive-design live here and on Honesty. Do not put those names in the table or on camera.


Architecture point (one line)

Same design, two deploy targets — Local (dev) for iterate; cafe.artof.link (MSAIE staging) to prove the same React→Flask→Postgres stack on a public HTTPS host — so the HLD holds across environments.


Architect questions (why/how — on-camera answers live in NATURAL VO)

Talk spine: Part 2 UX/business · Part 3 architecture why/how · Part 4 coding why/how · Part 5 honesty/close. Camera-safe deploy table above; host-vendor nicknames stay in the footnote.

Architect question (why/how)Short answer
Why these boundaries?Knowledge site (GitHub Pages) ≠ restaurant app (cafe.artof.link). Grade floor = official SRS only. /operator is a read-only helper, not an admin console.
How does the request flow?React (public UX) → Flask API → PostgreSQL. Booking and newsletter follow that path (newsletter store-only until SES).
Why two deploy targets?Same design: Local (dev) · Vite + Flask + local Postgres for iterate; MSAIE staging at cafe.artof.link for shared HTTPS demo. Temporary staging — not production forever.
How is quality encoded?Fail-closed without DB; unique slot+table integrity; freeze as single source of truth (CI locks drift).
Why these tradeoffs?Two deploy targets (speed vs shared proof); Knowledge ≠ App (no shared LB); SES outbound parked (store-only).
What does Coding own next (why/how)?Freeze file / CI, table assignment, timezone — implementation rationale.

On camera avoid: “weekend Lightsail staging”, heavy host-vendor / Route53 / Caddy ops jargon. Main table is camera-safe. Off-camera footnote / Honesty may name host vendor, machine nickname, and clone path.


Related assets

AssetRole
Local vs MSAIE rationaleCamera card — same architecture, two deploy targets (Local (dev) vs MSAIE staging)
Local HLD · 720 PNGArchitect cut — Vite / Flask / local Postgres (Local (dev))
MSAIE staging HLD · 720 PNGArchitect cut — cafe.artof.link · on-box Postgres (MSAIE staging)
Meghna FE↔BEClick path vs Flask (freeze vs GET /api/slots + POST /api/reservations)
Part 3 notes · Part 4 coding overviewSite pages for the four diagrams
hld-as-is / hld-aws-stagingHistory / probe archive (keep; do not prefer for the architect cut)
StackDual-env table + four new diagrams + archive HLDs
Live staginghttps://cafe.artof.link/

Packed 2026-09-07 Europe/Berlin · PROTOTYPE · Honest cut: Local (dev) · Vite + Flask + local Postgres · MSAIE staging at cafe.artof.link tip 73d202d · Caddy TLS → Flask → on-box Postgres · NATURAL track architect lens (MSAIE / cafe.artof.link on camera; local vs AWS as deploy decision).