Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 793 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 793 Bytes

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.