Back to Pet Projects

Pet Project

Fashion E-Commerce Store

A headless fashion e-commerce store built with Next.js and Shopify Storefront API, featuring dynamic product pages, variant selection and Shopify Checkout.

Fashion E-Commerce Store

Overview

Fashion E-Commerce Store (K BRANDROOM) is a personal headless e-commerce project built with Next.js, React, TypeScript and Tailwind CSS. The application uses the Shopify Storefront API via GraphQL to retrieve product information, images, pricing, variants and availability. It includes dynamic product pages, product image galleries, variant selection, server-side Shopify Cart creation and a redirect to Shopify Checkout, demonstrating a custom frontend architecture with Shopify as the commerce backend.

My Contribution

Application ArchitectureShopify Storefront APIGraphQL QueriesProduct CatalogDynamic Product PagesImage GalleryVariant SelectionShopify CartShopify Checkout

Responsibilities

  • Built the application with Next.js, React and TypeScript
  • Integrated Shopify Storefront API using GraphQL
  • Implemented a dynamic product catalog
  • Built dynamic product detail pages
  • Created product image galleries
  • Implemented product variant and size selection
  • Displayed product pricing and availability
  • Implemented server-side Shopify Cart creation
  • Integrated redirect to Shopify Checkout
  • Handled non-existent products with a not-found page
  • Developed a responsive UI with Tailwind CSS

Challenges

  • Designing a headless commerce architecture
  • Structuring GraphQL queries for the Storefront API
  • Mapping product variants to the selected options
  • Creating the cart on the server and passing the user to Shopify Checkout