Demos

This is a Greenwood demonstration repo showcasing various features deployed to and running on Vercel serverless functions.

Search API (w/ WCC)

This is an example of a Greenwood API leveraging the FormData API and returning an HTML response that is generated by server-rendering a Web Component (with Declarative Shadow DOM). This same component is loaded on the client-side too, so that when you click the Item Details button, state and interactivity can still be resumed. You can see it fire in the network tab as /api/search