Hygraph Commerce Starter

screenshot of Hygraph Commerce Starter
nextjs
react
tailwind

Hygraph Commerce Starter

Overview:

Hygraph Commerce Starter is a project that allows users to build modern and SEO ready commerce storefronts using Hygraph, Next.js, Stripe, and Tailwind CSS. It provides an example of how to build a fully-functioning Next.js commerce storefront with Hygraph and Stripe.

Features:

  • Fully localized product catalogue built with Hygraph localization and Next.js.
  • Pre-rendered catalogue pages via getStaticProps and getStaticPaths.
  • Dynamic client-side data fetching via SWR.
  • Localized shopping cart with react-use-cart.
  • Hosted checkout and payment flow with Stripe Checkout.
  • Use the Hygraph mutation API with API Routes to create orders on successful checkout (via webhook).
  • Multiple currency support.
nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.