gancena / nextjs-tailwind-shopify-storefront

Starter template for a Shopify Headless React Storefront using TailwindCSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Starter template for a Shopify Headless React Storefront using TailwindCSS

License:MIT License


Languages

Language:TypeScript 96.5%Language:CSS 2.9%Language:JavaScript 0.6%Language:Shell 0.0%