hygraph / skncre-starter-astro

SKNCRE a Hygraph cosmetics brand demo showcasing Hygraph CMS and Federated content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SKNCRE a Hygraph cosmetics brand demo

Add GraphQL and Hygraph connections

In .env add and make sure to add content viewing permissions in Hygraph API settings

GQL_HOST=https://<HYGRAPH_CDN_LOCATION>.cdn.hygraph.com/content/<ID>/master

See .env.example for the setup requirements.

run npm run codegen for GraphQL types.

Development Server

Start the development server on http://localhost:4321:

npm dev

Feel free to check the Astro documentation or jump into the Astro Discord server.

About

SKNCRE a Hygraph cosmetics brand demo showcasing Hygraph CMS and Federated content


Languages

Language:TypeScript 96.6%Language:Astro 3.2%Language:JavaScript 0.2%Language:CSS 0.1%