A Yeoman generator for Serverless Shopify apps using Next.js, Koa, Prisma GraphQL & Shopify's Polaris
First, install Yeoman and generator-shopify-nextjs using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-shopify-nextjs
Then generate your new project:
cd /path/to/empty/directory
yo shopify-nextjs name-of-app
This is the default data store that's hosted at app.prisma.io.It's a hosted GraphQL service that has a free tier, so it's easy to get started.To initialize a prisma instance, do the following:
cd data
prisma init
cp datamodel.prisma.example datamodel.prisma
prisma deploy
If you want to use a different data store, it's easy enough to replace with whatever youwant. In server.js
, you just have to store the accessToken
that Shopify gives youupon app installation using your own database libraries.
Your .env should have the following entries:
SHOPIFY_API_KEY=...
SHOPIFY_SECRET=...
SERVER_SECRET=...
NEXT_STATIC_GRAPHQL_URI=...
npm i -g now
now
bin/repl
MIT © Dimension Software
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
@shopify/koa-shopify-auth Middleware to authenticate a Koa application with Shopify. Sister module to @shopify/shopify-express, but simplified. Features you might know from the express module like the