hotfix: shoppify hydrogen initialization with mock data

This commit is contained in:
Harivansh Rathi 2025-02-20 19:47:43 -05:00
parent 357979d0af
commit 4e59c6866d
15 changed files with 6510 additions and 115 deletions

12
hydrogen.config.ts Normal file
View file

@ -0,0 +1,12 @@
import {defineConfig} from '@shopify/hydrogen/config';
export default defineConfig({
shopify: {
storeDomain: 'your-store.myshopify.com',
storefrontToken: 'your_storefront_api_token',
storefrontApiVersion: '2024-01', // Use the latest API version
},
session: {
storage: 'memory', // You can change this to 'redis' or other storage methods in production
},
});