Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Astro-powered cosmetics brand demo using Hygraph CMS and GraphQL federated content.

Headless Next.js storefront starter for Swell with subscriptions, quizzes, multi-currency, and i18n.

Free Bootstrap 5 HTML5 responsive ecommerce template with product grid, shopping cart, contact form.

Free ready-to-use Next.js TypeScript starter for high-performance e-commerce sites, powered by Boundless Commerce headless CMS.

Server-rendered Next.js App Router ecommerce starter integrated with Salesforce Commerce Cloud, using React Server Components and Server Actions.
SKNCRE is an Astro-based cosmetics brand demo storefront that uses Hygraph as a headless CMS, designed to showcase federated content and composable commerce workflows.
SKNCRE is an Astro-based cosmetics brand demo storefront that uses Hygraph as a headless CMS. It takes a Hygraph GraphQL endpoint as configuration input and produces a publicly accessible e-commerce front end, with a live demo hosted on Vercel. The project is a reference implementation from Hygraph intended to demonstrate federated content and composable commerce patterns.
http://localhost:4321.GQL_HOST environment variable pointing to the Hygraph CDN endpoint.npm run codegen command that generates TypeScript types from the GraphQL schema, giving type-safe queries for product and page content..env file and a .env.example template; you must set your Hygraph API endpoint and configure content viewing permissions in the Hygraph API settings.https://skncre-cosmetics-hygraph-astro.vercel.app/, letting you see the storefront before deploying your own.Astro developers who want a worked example of connecting Astro to a headless CMS will find this a concise reference. Hygraph users evaluating the platform can use the demo as a starting point for building a storefront. Developers new to composable commerce can study how a static front end combines with a CMS backend to serve product content.
npm dev to inspect how federated content is fetched and rendered, then deploy the same code to Vercel or another platform.The project expects a .env file with GQL_HOST set to your Hygraph CDN endpoint. After adding the environment variable, run npm run codegen to generate GraphQL types, then start the development server with npm dev. The Astro site fetches content from Hygraph at build time and renders the cosmetics storefront pages.
SKNCRE is a demo storefront for a cosmetics brand built with Astro and Hygraph CMS. It’s a reference project from Hygraph that shows how to build a static e-commerce site with content managed in Hygraph and served via GraphQL.
Copy .env.example to .env, then set GQL_HOST to your Hygraph CDN endpoint (format is shown in the repository). You must also grant content viewing permissions in the Hygraph API settings so the Astro build can fetch the content.
After configuring the environment, run npm run codegen to generate GraphQL types, then start the development server with npm dev. The site will be available at http://localhost:4321.
Yes, the repository links to a running demo at https://skncre-cosmetics-hygraph-astro.vercel.app/ so you can see the result without setting anything up.
The repo uses GraphQL code generation to produce typed queries, and the setup instructions include npm run codegen for that purpose. While the full stack is Astro, the generated types are TypeScript.
