alexadark / hydrogen-storyblok

Home Page:https://hydrogen-shop-eta.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hydrogen template: Hello World

Hydrogen is Shopify’s stack for headless commerce. Hydrogen is designed to dovetail with Remix, Shopify’s full stack web framework.

Check out Hydrogen docs Get familiar with Remix

Getting started

Requirements:

  • Node.js version 16.14.0 or higher

  • Rename the .env.example file to .env and add your Shopify store URL and API key. You can the one from the demo project also

SESSION_SECRET="foobar"
PUBLIC_STOREFRONT_API_VERSION="2023-07"
PUBLIC_STOREFRONT_API_TOKEN="78a9c49d5b74cd74fdbe35bbd3bd65c5"
PUBLIC_STORE_DOMAIN="https://hydrobloks.myshopify.com"
  accessToken: 'aVPSgag6Rrp47qg0HOHIbgtt',
  use: [apiPlugin],
  components,
});
  • You can keep the actual token if you don't want to create your own storyblok space.

  • Add your shopify endpoint and tokens in the plugins fields from the components single-product and products-grid

Building for production

npm run build

Local development

npm run dev

About

https://hydrogen-shop-eta.vercel.app


Languages

Language:JavaScript 97.7%Language:CSS 2.3%