Book 7 · Lesson 7.10 · deep-dive

Deep-dive — React at work (maverick-ui)

  • Trace maverick-ui BFF session and CSRF flow
  • Name problems a BFF solves that gateway-only cannot
  • Keep millipede ship path unchanged

Prerequisites: 3.11 · 7.8

Appendix 7.A2 — React + Express BFF at Snyk; reference for EM portfolio narrative.

1. BrowserBearer JWT in header · SolidJS fetch /api
2. Rust gatewayValidate JWT · mTLS proxy · static assets optional
3. Backendsingestion · analyzer — no BFF layer

maverick-ui architecture

Browser → React SPA → Express BFF → upstream APIs. OAuth tokens and CSRF live server-side — never in the bundle.

Team Radar ships gateway + SolidJS — lesson 3.11 and docs/work-alignment.md explain why.

Compare

Concernmaverick-ui BFFmillipede gateway
SessionCookie + CSRFBearer JWT
Token vaultHidden in BFFN/A in olab
UI stackReactSolidJS

Toggle BffProxyFlow — narrate for an EM audience without proposing a rewrite.

Teach-back prompt

One sentence: why Snyk needs a BFF and olab does not.