Hydrogen is Shopify’s stack for headless commerce. Hydrogen is designed to dovetail with Remix, Shopify’s full stack web framework. This template contains a minimal setup of components, queries and tooling to get started with Hydrogen.
Check out Hydrogen docs Get familiar with Remix
- Remix
- Hydrogen
- Oxygen
- Shopify CLI
- ESLint
- Prettier
- GraphQL generator
- TypeScript and JavaScript flavors
- Minimal setup of components and routes
Requirements:
- Node.js version 16.14.0 or higher
npm create @shopify/hydrogen@latest --template hello-world/.env
# These variables are only available locally in MiniOxygen
SESSION_SECRET=...
# Storefront API vars
PUBLIC_STOREFRONT_API_TOKEN="..."
PUBLIC_STORE_DOMAIN="xyz.myshopify.com"
PUBLIC_STOREFRONT_API_VERSION="2023-01"
PRIVATE_STOREFRONT_API_TOKEN="shpat_..."
# Admin API vars
PRIVATE_ADMIN_API_VERSION="2023-01"
PRIVATE_ADMIN_API_TOKEN="shpat_..."Remember to update .env with your shop's domain and Storefront API token!
npm run buildnpm run dev