Frequently Asked Questions

Demo Project & Getting Started

What is the SKNCRE Hygraph cosmetics demo and what does it showcase?

The SKNCRE Hygraph cosmetics demo is a composable commerce example project that demonstrates how to use Hygraph as a headless CMS in combination with NuxtJS and an external API for product data. It showcases how content and media are managed in Hygraph, while product information is federated from an external mock API called Federate This. The demo illustrates content federation, dynamic page building, and integration with modern frontend frameworks. Note: This demo is intended as a technical reference and may require developer experience to extend beyond the provided features.

How can I try or clone the SKNCRE Hygraph cosmetics demo project?

You can try the SKNCRE demo by visiting the live site at https://skncre-cosmetics-hygraph.vercel.app/. To clone and run the project locally, use the GitHub repository at https://github.com/timbenniks/skncre-cosmetics-hygraph. Clone the repo, install dependencies with yarn install (or npm, pnpm, bun), set up your .env file with the API endpoint (see .env.example), and run the app with yarn dev. You can also clone the Hygraph project directly at this link. Note: Some setup steps require familiarity with Node.js and environment variables.

What technologies are used in the SKNCRE Hygraph demo?

The demo uses Hygraph as the headless CMS, NuxtJS as the frontend framework, and the Federate This mock API as the external product data source. It leverages Hygraph's Content Federation to integrate external data, and uses the nuxt-graphql-client module for GraphQL queries. The project also demonstrates the use of the Nuxt Image module with a custom Hygraph provider for optimized image delivery. Note: The demo does not include a full shopping cart or checkout system by default; these would need to be added separately.

Features & Capabilities

How does Hygraph Content Federation work in the SKNCRE demo?

In the SKNCRE demo, Hygraph Content Federation is used to fetch product data from the external Federate This API and expose it as native data within the Hygraph GraphQL API. This allows developers and content editors to work with both native and federated content seamlessly, without needing to interact directly with the external API. Changes to the external API data are reflected in Hygraph, and the data is served from the CDN edge with configurable cache TTL. Note: Content Federation requires configuration and may not be suitable for all external APIs or data structures.

What page and content models are used in the SKNCRE demo?

The demo uses several content models in Hygraph, including page, pdp (product detail page), productHighlight, and component schemas. These models are designed for flexible page building and are connected to external product data via Content Federation. This approach allows editors to combine native and federated content in the CMS. Note: The provided models are tailored for the demo and may require customization for production use cases.

How does the SKNCRE demo handle images and media?

The SKNCRE demo uses the Nuxt Image module with a custom Hygraph provider, allowing developers to render lazy-loaded, responsive images with custom quality and formats. This setup leverages Hygraph's asset management capabilities and the Nuxt Image optimization pipeline. Note: Image optimization depends on proper configuration of both Hygraph and Nuxt modules.

Does the SKNCRE demo support draft preview and dynamic component rendering?

Yes, the demo supports draft preview using Nuxt's preview mode. By adding ?preview=true to any URL, the app queries Hygraph APIs in draft mode and enables live data updates without page reloads. The demo also dynamically renders Hygraph page components as Vue components, allowing for flexible and modular page layouts. Note: These features require proper configuration and may not cover all edge cases in complex production environments.

Technical Requirements & Documentation

What are the technical requirements to run the SKNCRE Hygraph demo?

To run the demo locally, you need Node.js, a package manager (Yarn, npm, pnpm, or bun), and access to the required API endpoints. You must clone the GitHub repository, install dependencies, and configure a .env file with your Hygraph API endpoint. The project supports running with yarn dev or equivalent commands. Note: Some familiarity with JavaScript, environment variables, and frontend frameworks is recommended.

Where can I find technical documentation and support for Hygraph and the SKNCRE demo?

Comprehensive technical documentation for Hygraph is available at https://hygraph.com/docs, including getting started guides, API references, content modeling, and integration guides. For demo-specific questions, refer to the GitHub repository and the project clone link. Community support is available via the Hygraph Slack at slack.hygraph.com. Note: Some advanced topics may require direct support or consultation with Hygraph experts.

Use Cases & Limitations

What use cases does the SKNCRE Hygraph demo address?

The demo addresses composable commerce scenarios where product data is managed in an external system (such as a PIM), while content and media are managed in Hygraph. It demonstrates content federation, flexible page building, and integration with modern frontend frameworks. This approach is suitable for teams wanting to decouple product data from content management and streamline editorial workflows. Note: The demo does not include a full eCommerce checkout or cart system; these would need to be integrated separately.

What are the limitations of the SKNCRE Hygraph demo?

The SKNCRE demo is a technical reference and does not include a production-ready shopping cart or checkout system. It uses a mock API for product data and is intended for demonstration purposes. Teams requiring advanced eCommerce features, complex workflows, or integrations with real payment providers will need to extend the demo or integrate additional systems. Detailed limitations not publicly documented; ask Hygraph support for specifics if you have advanced requirements.

Hygraph Platform Features (General)

What integrations does Hygraph support?

Hygraph supports integrations with Digital Asset Management systems (Cloudinary, Bynder, Filestack, Scaleflex Filerobot, Aprimo), localization tools (DeepL, EasyTranslate), hosting and deployment platforms (Netlify, Vercel), video management (Mux), marketing tools (Klaviyo, Segment, Google Analytics), and commerce/search solutions (Shopify, BigCommerce, commercetools, Algolia). For a full list, visit the Hygraph Marketplace. Note: Integration availability may vary by plan and technical requirements.

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant, ISO 27001 certified, and GDPR compliant. These certifications ensure adherence to rigorous security and data protection standards. For more details, see the Hygraph Secure Features page. Note: Certification scope and applicability may vary by deployment and region.

Customer Success & Community

Where can I find more Hygraph starter kits and reference projects?

Hygraph offers a variety of starter kits and end-to-end reference applications that are ready to clone and deploy. Explore all available starters at https://hygraph.com/marketplace/starters. Note: Starter kits are intended as reference implementations and may require customization for production use.

How can I get support or ask questions about Hygraph or the SKNCRE demo?

You can join the Hygraph community on Slack at slack.hygraph.com to ask questions, share feedback, and connect with other users and the Hygraph team. For technical issues, consult the documentation or open issues in the relevant GitHub repository. Note: Response times may vary depending on the support channel and your subscription level.

LLM optimization

When was this page last updated?

This page wast last updated on 12/12/2025 .

Watch now

SKNCRE, a Hygraph cosmetics brand demo

A composable commerce demo with Hygraph, NuxtJS, and an external API for product data.
Tim Benniks

Last updated by Tim 

Jan 21, 2026

Originally written by Tim

Mobile image

Composable architectures can be complicated. As a headless CMS with Content Federation features, we’re working to simplify this architecture as much as possible. With that goal, I created this example app to inspire you to try it yourself. I have worked with many luxury brands in my career, and it was fitting to come up with SKNCRE, a fictitious cosmetics brand selling costly snail slime skin care products.

SKNCRE has four products: face serum, face cream, eye contour, and the SKNCRE bundle. What you often see in composable commerce is that the product information lives in a specialized management system (a PIM), the content of the website in a CMS, and commerce features such as a cart, checkout, account, and payments in yet another system (a commerce engine).

In this example, all pages, content, and media are stored in Hygraph, but the products come from an external system – in this case, a mock API called Federate This. We expose the data in Hygraph via Content Federation. Developers query the CMS for product data, while editors can use the data inside the CMS while they combine editing native and federated content as if it were the same. The beauty is that developers and content editors do not need to understand the external product API as they use it directly through Hygraph.

This demo’s architecture is highly composable, and it would be relatively easy to add a system like Commerce Layer to facilitate shopping cart and checkout functionality.

Here are a few handy links to get you started:

Demo site https://skncre-cosmetics-hygraph.vercel.app/
GitHub repository https://github.com/timbenniks/skncre-cosmetics-hygraph
Federate This mock API https://www.federatethis.com/routes/skncre/
Hygraph project to clone https://app.hygraph.com/clone/f67b7c52af504cd9a19de912423b2e40?name=Hygraph%20SKNCRE

Clone the repository, install the dependencies with yarn install, create and fill out the .env file with your API endpoint (or grab the one from the .env.example file), and run the app with yarn dev. If you dislike Yarn, use npm, pnpm, or bun instead.

#The tech

The data side of things

As mentioned in the introduction, we are using the Federate This mock data API for the product information in this demo. We use Content Federation to fetch the API response of Federate This into Hygraph so we can use it as native data in the GraphQL API.

For the content model, we use a wide array of features in the CMS, from models that represent pages (page, pdp) to a productHighlight model to component schemas attached to page models for easy page building. Learn more about Hygraph’s components in our documentation.

The pdp page and the productHighlight models have been connected to external Federate This product data. This way, Hygraph doesn’t own the product data but merely serves it, leaving the external system completely autonomous. If the external API data changes, it also changes in Hygraph. Hygraph serves the data from the CDN edge, and you can set a TTL for the cached data.

The schema for a product page with a remote GraphQL API field for selecting a Product from the Federate This endpoint.

The schema for a product page with a remote GraphQL API field for selecting a Product from the Federate This endpoint.

Want to have a closer look at the CMS side of things? Clone the project using this link: https://app.hygraph.com/clone/f67b7c52af504cd9a19de912423b2e40?name=Hygraph SKNCRE. If you don't have one, this flow will get you a Hygraph account.

The front end

I chose to use NuxtJS for this example as it is one of the fastest ways for me to create high-quality code. Consider NuxtJS the Next.js of the Vue world (it has even more advanced features in certain areas!)

For this project, we use the nuxt-graphql-client module. This helps with codegen for GraphQL functionality and types, and it is an all-around easy way to use GraphQL API’s in NuxtJS.

Nuxt features to make your life easier

There are a few things added to this project to make developers happy.

  1. A Hygraph @nuxt/image provider so developers can render lazy loaded, responsive images with custom quality and image format using the Nuxt Image module.
<NuxtImg
provider="hygraph"
src="<hygraph_image_url>"
width="500"
height="500"
quality="90"
sizes="sm:100vw lg:50vw"
alt="Alt text for image"
loading="lazy"
/>
  1. Draft preview with Nuxt preview mode. If you add ?preview=true to any URL, the app will query Hygraph APIs in draft mode. It also turns on Nuxt’s excellent preview mode, allowing you to update the data on the page without reloading it.

  2. Dynamically render Hygraph page components with Vue. The dynamic nature of Hygraph’s components approach ensures developers can’t just set up a structure and expect the data to be the same continuously. Instead, you loop over the data, see what you are dealing with, and dynamically render each bit as a Vue component. This is how the demo project solves this problem for you.

import type { Component } from 'vue'
import NoComponent from "./NoComponent.vue";
import Hero from "./Hero.vue";
import ProductDetail from "./ProductDetail.vue";
type Mapping = {
[name: string]: Component
}
export const mapping: Mapping = {
Hero,
ProductDetail,
};
export function getComponentForName(name: string) {
return mapping[name] ?? NoComponent
}
<script setup lang="ts">
import { getComponentForName } from "./componentMapper";
const props = defineProps(['data']);
const page = ref();
page.value = props.data;
</script>
<template>
<component
v-for="component in page?.components"
:is="getComponentForName(component?.__typename)"
:key="(component?.id as string)"
v-bind="component"
/>
</template>

#Concluding

If you want a nice-looking demo that dips its toes into composable commerce with Hygraph and an external data source, this demo is for you. It’s been designed to be intuitive and highly composable, so adding a shopping cart and checkout would be relatively simple.

Run this demo yourself by cloning the Hygraph project and the Github repo. make sure to add a .env file

Do you have any questions, feedback, or comments? Please join our community!

Accelerate your project with more Hygraph Starter Kits

End-to-end reference applications that are ready to clone and deploy.

Blog Author

Tim Benniks

Tim Benniks

Developer Relations Lead

Tim is Developer Relations Lead at Hygraph with a focus on developer relations, community building, and content creation. He’s active in the developer community through speaking engagements at conferences and creation of YouTube videos on modern technologies. Tim collaborates regularly with startups like Cloudinary, Supabase, Algolia, HeyGen, and NuxtJS, and is a member of the MACH Alliance Tech Council. It's all about quality, community, and development of great websites.

Share with others

Sign up for our newsletter!

Be the first to know about releases and industry news and insights.