
Learn the architecture of the hydrogen framework, install hydrogen locally, and use storefront and admin APIs, meta objects, and Sanity CMS to build a home page and deploy.
Discover Remix, a full-stack React-based framework backed by Shopify, delivering fast, scalable user interfaces and powering Hydrogen—the heart of Shopify apps—while offering first-class support.
Explore Hydrogen, Shopify's headless commerce stack that provides tools, components, and caching for fast, SEO-friendly dynamic storefronts with Remix routing and Oxygen hosting.
Connect a Shopify store to a Hydrogen app by generating a storefront API token, configuring access scopes, and updating environment variables to display store data locally.
Set up the customer account api for a hydrogen app on your local machine, map your local domain to a rock domain, and verify login with the headless application.
Learn to set up Tailwind CSS with Hydrogen by updating the Tailwind config, creating and importing a Tailwind stylesheet, and validating the integration with a test.
GraphQL is a query language for APIs. It is a runtime that fulfills queries and enables powerful developer tools for evolving APIs.
Discover how the storefront API unlocks products, collections, cart actions, and contextual pricing to build commerce experiences across web, native apps, games, and social platforms using your frontend tools.
Install and use the Altair GraphQL client to interact with the Shopify Storefront API, test queries, and optimize GraphQL implementations within a Hydrogen app.
Craft a GraphQL storefront API query to fetch blog data by handle from Shopify, then display posts on the Hydrogen storefront homepage and integrate into the app.
Learn how to use GraphQL variables to build queries that accept values such as blog handle and number of articles, and adapt them for the hydrogen storefront.
Learn to use fragments in GraphQL queries by creating an article fragment, importing it, and reusing fragments across a Hydrogen storefront to keep queries clean and maintainable.
Learn to use GraphQL mutations to insert or modify data in a Shopify Hydrogen app, using a customer create mutation example with a registration form and an action function.
Learn how the GraphQL admin API enables Shopify customization by modifying products and orders, creating return requests, and building features for your Hydrogen app, with rate limits and token security.
Configure the Altair GraphQL client to use the admin api by updating the endpoint and headers, generate a secure admin api token, and test admin queries.
Create an admin api client for Hydrogen by adding lib/admin-client.js, a request handler, and modifying lib/context.js; configure store domain, admin token, api version, and env vars.
Use the admin API with Hydrogen by testing a return query to fetch return data and the return ID, and view the results in the console.
Learn what meta objects are in Shopify and how they extend a store's data model. Define, add entries, and display them via Liquid storefront and admin APIs.
Create a Shopify metaobject by navigating to settings, custom data, and adding a definition named image with text, then define data fields and sample data for hydrogen.
Learn to display a metaobject on a hydrogen storefront by grouping children under a parent and rendering multiple objects with a query and switch cases.
Discover how sanity, a modern headless CMS, uses structured content to reuse across channels and a composable approach to connect with third-party tech and front-end frameworks.
Explore GROQ, sanity's open source query language, describe exactly the information your application needs, join data from multiple document sets, and stitch precise responses, similar to GraphQL.
Create a Sanity project, initialize with the E-commerce Shopify template, run locally for testing, then deploy to Sanity Cloud and access the studio.
Learn how to sync Shopify products and collections with Sanity using the Sanity Connect app. Install the app, click connect with Sanity, and verify data in the Sanity Studio.
Create a sanity module by duplicating an existing one, renaming it to image with text, defining CMS data fields, and updating the home page modules list and index.ts.
Display a sanity module on the Hydrogen storefront by fetching data with a grok query GraphQL-like, wiring it into an image with text component, and fixing the content security policy.
Learn to create and use grok fragments, similar to GraphQL fragments, to clean up queries and enable reuse across modules.
Update the entire hydrogen storefront styles to match a Figma design by cleaning the home page, refining the header and footer, and adding account, search, and cart icons.
Create a video background hero section for the homepage by building a Sanity CMS module, uploading the video to Shopify, and displaying it in the Hydrogen app.
Create a banner grid module for home page by defining data input fields, building a sanity submodule, deploying to the online studio, and fetching data with a hydrogen app query.
Create the selected products module for the home page with new arrivals or sale products options. Build API routes to fetch collection data and render product cards, including discounts.
Create a parallax banner section on the home page by building a new sanity module, deploying to the online studio, and creating a display component that queries hydrogen for data.
Create the About Us module as the home page section with a background image. Define fields, deploy to studio, add sample data, query module data from hydrogen, and style page.
Deploy your hydrogen app to oxygen by pushing code to GitHub, installing the app for your store, and merging the pull request, then updating environment variables for sanity before redeploy.
deploy Shopify Hydrogen to Vercel by configuring Remix, managing environment variables, updating server and config files, and pushing to a GitHub repo to trigger Vercel deployment.
Welcome to the Shopify Hydrogen Tutorial: Best Methods & Pro Tips course.
My name is Jaxson. I'm the Product Owner and Technical Leader at TrueStorefront, we've built the best Shopify Hydrogen theme (named Owen) and provide some Shopify Headless services.
I have over three years of experience with Shopify Headless (using Next.js) and more than two years of experience with Hydrogen (I've been using Hydrogen from very early). I've also successfully completed over 6 Shopify Headless projects for clients (including 2 Shopify Plus stores).
I'll be sharing my practical experience with other developers who want to learn about Shopify Hydrogen. I'll help you accelerate the learning process about Shopify Hydrogen with best practices, professional tips, and the right direction.
After completing this course, you will know about:
The architecture of the Hydrogen framework
How to install Hydrogen locally for development
How to use the Storefront API with Hydrogen
How to use the Admin API with Hydrogen
How to use Meta Objects with Hydrogen
How to use Sanity CMS with Hydrogen
How to build a homepage using Sanity CMS
How to deploy to production
I've extensively shared my experience with Shopify Hydrogen on my LinkedIn profile. If you are also interested in Shopify Hydrogen, and have any questions about it, connect with me on LinkedIn: in/jaxsonluu