/nextjs-tailwind-shopify-storefront

Starter template for a Shopify Headless React Storefront using TailwindCSS

Primary LanguageTypeScriptMIT LicenseMIT

Next Shopify Storefront

A real-world Shopping Cart built with TypeScript, NextJS, React, Apollo Client, Shopify Storefront GraphQL API, and TailwindCSS.

Technologies

Hit the Star button if you love this project ⭐️

Checklist

✅   TailwindCSS
✅   Display products
✅   Product pages
✅   Add to cart functionality
🔲   Pagination
✅   Deploy to Heroku

Demo

You can visit here to see the demo: https://nextjs-shopify-storefront.herokuapp.com/

Usage

Install dependencies

npm install

Rename .env.example to .env and add values for Shopify Storefront access token and the URI GraphQL endpoint

REACT_APP_STOREFRONT_TOKEN=
REACT_APP_STORE_URI=

For development

npm run dev

For production

npm run build
npm start