A Production-Grade Hydrogen Storefront With a Real Shopify Catalog
Portfolio build: a high-fidelity audio storefront migrated to Shopify Hydrogen, with adapter-based commerce services, a single Hydrogen cart, and a live Cloudflare Worker serving real products, brands and MAD prices.

- Automated tests: 64 (from 21 files · Vitest)
- Client bundle: 266 kB gzip (from 300 kB budget)
- Catalog seeded: 30 products (from 6 collections · 9 brands)
- Live routes checked: 9 (from Cloudflare Worker)
- 30 products, 6 collections, 9 brands and 12 metafield definitions seeded through the Admin API.
- 18 routes verified in dev with no console errors; 9 key routes verified against the deployed Worker.
- Client JavaScript stays at 266 kB gzip against a 300 kB budget.
- Known limitation documented: the Shopify store is password protected, so a real test order cannot be completed yet.
- Request-scoped Hydrogen Storefront client shared through React Router context; no browser-side catalog fetching.
- CommerceAdapter converts Shopify shapes to internal TypeScript models used by the UI.
Portfolio build: a high-fidelity audio storefront migrated to Shopify Hydrogen, with adapter-based commerce services, a single Hydrogen cart, and a live Cloudflare Worker serving real products, brands and MAD prices.
Good architecture is what lets a storefront stay fast and editable as the catalog and the team behind it grow.
The challenge. The original storefront used local fixture data for products, collections and cart state. It needed a real Shopify backend, a testable adapter boundary, an accessible interaction layer, and a deployment path that did not leak Admin credentials into application code.
The solution. Placed all commerce access behind a CommerceAdapter and request-scoped services for products, collections and search. Hydrogen middleware owns /api/cart and /checkout; CartProvider, useCart and useCartForm are the only cart state. Storefront credentials are public by design, while Admin credentials are imported only by the one-off catalog seeding script. The SSR app runs on Cloudflare Workers with static assets served from the client build.
Measured results. Automated tests reached 64 from 21 files · Vitest; Client bundle reached 266 kB gzip from 300 kB budget; Catalog seeded reached 30 products from 6 collections · 9 brands; Live routes checked reached 9 from Cloudflare Worker.
Scope of work. Hydrogen migration with adapter-isolated Storefront API queries; Admin GraphQL catalog seeding and metafield definitions; Hydrogen cart, checkout handoff and Shopify standard-actions script; Accessibility testing, bundle budget audit and Workers deployment.
Architecture notes. Request-scoped Hydrogen Storefront client shared through React Router context; no browser-side catalog fetching. CommerceAdapter converts Shopify shapes to internal TypeScript models used by the UI. Hydrogen cart handlers own /api/cart; checkout uses the real cart.checkoutUrl rather than a local URL. Wishlist, comparison, the system builder, journal and guides stay local but reference real Shopify handles. Tests mock GraphQL responses, axe-core checks accessibility in jsdom, and live verification is a separate explicit script.
Highlights. 30 products, 6 collections, 9 brands and 12 metafield definitions seeded through the Admin API.; 18 routes verified in dev with no console errors; 9 key routes verified against the deployed Worker.; Client JavaScript stays at 266 kB gzip against a 300 kB budget.; Known limitation documented: the Shopify store is password protected, so a real test order cannot be completed yet..
The cart is owned entirely by Hydrogen: server handlers register /api/cart and the document is seeded with the real cart so there is no competing local cart store. Product access is injected through an adapter, keeping GraphQL types out of UI components and making the mocked GraphQL test suite possible.
Deployment note. Deployed to aurel-store.driss-oudmine.workers.dev · checkout blocked by store password setting
Project note. "Project note: AUREL is a portfolio build, so the figures above are quality and verification results from the repository — test counts, bundle budget, seeded catalog and route checks — rather than client revenue metrics." — Driss OUDMINE, Portfolio build notes · headless commerce.
Built by Driss OUDMINE — Shopify Theme & App Developer.
Production-Ready Implementation
Source-level excerpts from the build.
import { createCartServerHandlers } from '@shopify/hydrogen';
/** Hydrogen-owned /api/cart endpoint. Server-only. */
export const cartHandlers = createCartServerHandlers();
// Services are thin adapters over the injected Hydrogen Storefront
// client, so the rest of the app depends on internal models only.
export function createProductService(adapter: CommerceAdapter) {
return {
list: adapter.products.list,
getByHandle: adapter.products.getByHandle,
getManyByHandles: adapter.products.getManyByHandles,
getRelated: adapter.products.getRelated,
};
}Pre-Deployment Safety Checklist for Shopify Merchants

Driss OUDMINE
Shopify Theme & App Developer specializing in Online Store 2.0 themes, custom Shopify apps, Shopify APIs (GraphQL/REST), and store speed optimization. Not available for new opportunities at this moment.
Let's discuss how I can contribute to your team.
I am not available for new opportunities at this moment. You can still reach out for general questions about my work and articles.
Direct Email
hello@doudmine.comCandidate Snapshot:
Fast Response (Within 24 Hours)
I personally monitor my inbox and respond to technical recruiters and engineering managers promptly.
Work Authorization & Setup
Ready for remote full-time employment via Deel, Oyster, Remote.com, or direct employment.
Flexible Notice Period
Able to join team sprints within 1–2 weeks upon agreement.