A Shopping Cart built with TypeScript, Emotion, Next.js, React.js, React Query, Shopify Storefront GraphQL API, ... and Material UI.
These are my experience when I have been working on this project:
If you like this project, hit the STAR button to bookmark it
You can visit here to see the demo: https://next-shopify-storefront.vercel.app/
Clone the source code into your computer.
git clone https://github.com/maxvien/next-shopify-storefront.git
Install the project's dependencies.
yarn install
First, you need to set the below environment variables in the .env
file or your deployment platforms.
NEXT_PUBLIC_SHOPIFY_STOREFRONT_API_ENDPOINT
NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN
You can follow the Shopify Storefront GraphQL API documentation to get Storefront's API Endpoint
and Access Token
.
Develop the project in development mode.
yarn dev
Build the project in production mode.
yarn build
Start the project in production mode.
yarn start
Analyze the code to find problems with eslint
and prettier
.
yarn lint
Automatically fix problems.
yarn fix
To speed up your productivity, you can install these extensions:
shopify Introduction 介绍 Hello, and welcome to all things Shopify! My colleague and I have spent the last 3 months building and scaling a Shopify store for a client. Shopify has created an ecosystem th
《shopify theme 多语言国际化开发》 《shopify theme 跨境电商开发 liquid》 《本地编辑shopify主题的方式一》 《shopify cli 的命令》 使用shopify help <command> 显示有关特定命令的详细信息。 login:通过向商店或合作伙伴组织进行身份验证来登录Shopify CLI 用法:shopify login [--store=
Dawn 代表了一种以 HTML 为先,只需要 JavaScript 的主题开发方法。它是 Shopify 第一个内置性能、灵活性和 Online Store 2.0 功能的可用主题源,并作为构建 Shopify 主题的参考。 特性: 最纯粹形式的网络原生 精益、快速和可靠 JavaScript 不是必需的 服务器呈现 功能性 入门 Fork 存储库并克隆它: git clone git@gith
Shopify Packer Modern development tool for Shopify using Webpack 5. Easy to extend and customize, zero build config, comes with starter themes and compatible with existing Shopify sites. Features Webp
Laravel Shopify App A full-featured Laravel package for aiding in Shopify App development, similar to shopify_app for Rails. Works for Laravel 7 and up. Table of Contents * Wiki pages Goals Documentat
Polaris 是 Shopify 的体验平台,该存储库专注于集中系统、文档和基础。 如何使用这个 repo 确保计算机上安装了 Git 和 Node.js,然后运行以下命令开始: $ git clone https://github.com/Shopify/polaris.git # git clone repository$ cd polaris
Shopify ThemeKit - Webpack Development tool for Shopify using webpack and themekit. Check out the node package version: Shopify Packer Requirements Getting Started Theme files Commands Features Ready
generator-shopify-nextjs A Yeoman generator for Serverless Shopify apps using Next.js, Koa, Prisma GraphQL & Shopify's Polaris The Stack next.js koa koa-shopify-auth koa-shopify-graphql-proxy Polaris