Headless Bff Architecture

Apply when designing or modifying a BFF (Backend-for-Frontend) layer, middleware, or API proxy for a headless VTEX storefront. Covers BFF middleware architecture, public vs private API classification, VtexIdclientAutCookie management, API key protection, and secure request proxying. Use for any headless commerce project that must never expose VTEX_APP_KEY or call private VTEX APIs from the browser.

vtex d5c7f4c 20.7 KB Updated

File contents

vtex/skills/tree/main/skills/headless-bff-architecture commit d5c7f4cdd1

Frequently asked questions

npx skillmds add vtex/headless-bff-architecture