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

:white_check_mark:   TailwindCSS
:white_check_mark:   Display products
:white_check_mark:   Product pages
:white_check_mark:   Add to cart functionality
:black_square_button:   Pagination
:white_check_mark:   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