Add dw-demo-headless skill: Next.js storefront + DW10 Delivery API demos#40
Merged
Conversation
New flow skill in the presales cluster, sister to dw-demo-swift and "Use AFTER dw-demo-base", covering the headless demo consumer: a vercel/commerce-based Next.js storefront driven by the DW10 Delivery API (/dwapi/**) over a dedicated, presentation-agnostic serialized baseline that is its own product line, fully decoupled from Swift. Three references: - headless-backend.md: Delivery API surface map + auth model, the two-token trap (admin token 401s on /dwapi; frontend JWT via POST /dwapi/users/authenticate), the ENU-not-LANG1 locale gotcha, the PLP repository+named-query requirement (GET /products/search; POST /products 400s; count at totalProductsCount, facets at facetGroups[i].facets[j]), item-type-XML-at-startup fact. - headless-frontend.md: provider-module data-layer swap, DW_* env wiring, self-signed-TLS dev bypass, build-time RSC fetch caveat, slug conventions, @vercel/* self-host disposition. - headless-baseline.md: Headless_* item-type layer, 200000-209999 id floor band, EN/NL sibling-area parity, disk-overlay staging of itemtypes/+repositories/ before host start, Full index build after deserialize. Register in marketplace.json (dynamicweb-presales) + regenerate manifest.json; wire the headless demo path into dw-demo-base routing; bump 3.9.0. Routes to dw-headless-delivery for the raw endpoint catalog.
63affa4 to
4396778
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New flow skill dw-demo-headless (presales cluster, Use AFTER dw-demo-base) covering the headless demo consumer: a vercel/commerce-based Next.js storefront driven by the DW10 Delivery API over a dedicated, presentation-agnostic serialized baseline that is its own product line, fully decoupled from Swift.
References:
Registered in marketplace.json + manifest.json; wired into dw-demo-base routing; bumped 3.9.0; validator clean (0 errors / 0 warnings). Routes to dw-headless-delivery for the raw endpoint catalog. Rebased onto v2 after #39 merged.