Before You Begin
You can run Tune Me In with our demo data to explore the platform before connecting your own Shopify store and Sanity project.
- Node.js 14.0 or higher installed on your machine
- A code editor (we recommend VS Code)
- Terminal access
Get Started
Install Dependencies
Install all required packages using your preferred package manager:This will install all dependencies including:
@shopify/hydrogen- Hydrogen framework@sanity/client- Sanity JavaScript clienthydrogen-plugin-sanity- Plugin for unified data fetching- React, Vite, Tailwind CSS, and more
Start the Development Server
Launch the development server:The development server will start on
http://localhost:3000What You’ll See
The demo storefront includes:- Home Page (
/) - Featured collections and products with a customizable gallery - Collection Pages (
/collections/[handle]) - Browse products by collection - Product Pages (
/products/[handle]) - Detailed product information with variants - Editorial Pages (
/editorial/[slug]) - Rich content pages with inline product references - About Page (
/about) - Example of a Portable Text-powered page
The demo runs with test data from Sanity’s demo Shopify store. You’re seeing real Hydrogen and Sanity integration in action!
Explore the Code
Now that your storefront is running, explore the key files:Try Making Changes
Tune Me In uses Vite for hot module replacement. Try editing a component to see changes instantly:- Open
src/pages/Index.server.jsx - Make a change to the home page component
- Save the file
- Watch your browser automatically update!
Connect Your Own Data (Optional)
Ready to connect your own Shopify store and Sanity project? Update the configuration files:Next Steps
Installation Guide
Learn about prerequisites, dependencies, and detailed setup
Architecture
Understand how the codebase is organized
Data Fetching
Learn how to query Sanity and Shopify together
Deployment
Deploy your storefront to production
Need Help?
Server won't start
Server won't start
Make sure you have Node.js 14.0 or higher installed:Try deleting
node_modules and reinstalling:Port 3000 is already in use
Port 3000 is already in use
You can specify a different port:
Changes aren't reflecting
Changes aren't reflecting
Vite’s HMR is very fast, but sometimes a hard refresh helps:
- Press Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (Mac)
- Or restart the dev server