All Projects → thetre97 → gridsome-starter-shopify

thetre97 / gridsome-starter-shopify

Licence: MIT license
Gridsome Shopify Starter

Programming Languages

Vue
7211 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gridsome-starter-shopify

gridsome-starter-shopify-advanced
A Gridsome starter for Shopify, complete with authentication 🔐
Stars: ✭ 16 (-65.22%)
Mutual labels:  shopify, gridsome
gridsome-starter-liebling
Gridsome starter based on the Liebling theme for Ghost. Content is added via markdown, while Tailwind CSS is used for the layout/styling.
Stars: ✭ 21 (-54.35%)
Mutual labels:  gridsome, gridsome-starter
gridsome-firebase-starter
Frontend Starter for Gridsome & Firebase using Firesync
Stars: ✭ 51 (+10.87%)
Mutual labels:  gridsome, gridsome-starter
gridsome-source-shopify
Shopify source plugin for Gridsome
Stars: ✭ 15 (-67.39%)
Mutual labels:  shopify, gridsome
koa-shopify-auth
DEPRECATED Middleware to authenticate a Koa application with Shopify
Stars: ✭ 82 (+78.26%)
Mutual labels:  shopify
Gatsby Theme Storefront Shopify
Create a Shopify store with Gatsby JS 🛍️ 🛒
Stars: ✭ 175 (+280.43%)
Mutual labels:  shopify
Shopify Webpack Themekit
Shopify development tool using webpack and themekit
Stars: ✭ 157 (+241.3%)
Mutual labels:  shopify
Openship
e-commerce automation
Stars: ✭ 143 (+210.87%)
Mutual labels:  shopify
ShopifyCheckoutJS
A little code for having a better experience manipulating Shopify´s Checkout via JS.
Stars: ✭ 55 (+19.57%)
Mutual labels:  shopify
danvega-dev
Personal Blog of Dan Vega
Stars: ✭ 56 (+21.74%)
Mutual labels:  gridsome
shopify-react-astro
A demo of a Shopify site using Astro and React.
Stars: ✭ 103 (+123.91%)
Mutual labels:  shopify
Midway
Headless Starter with Sanity + Gatsby + Shopify Repo
Stars: ✭ 195 (+323.91%)
Mutual labels:  shopify
vox
⚡️ instant interactivity for the web 💫
Stars: ✭ 85 (+84.78%)
Mutual labels:  shopify
Polaris Tokens
Design tokens for Polaris, Shopify’s design system
Stars: ✭ 167 (+263.04%)
Mutual labels:  shopify
mechanic-tasks
Public task repository for Mechanic (https://mechanic.dev)
Stars: ✭ 42 (-8.7%)
Mutual labels:  shopify
Ob Low Impact Website
The Low Impact version of the Organic Basics website
Stars: ✭ 147 (+219.57%)
Mutual labels:  shopify
Ajaxinate
🎡 Ajax pagination plugin for Shopify themes
Stars: ✭ 107 (+132.61%)
Mutual labels:  shopify
eslint-plugin-gridsome
ESLint plugin for Gridsome
Stars: ✭ 45 (-2.17%)
Mutual labels:  gridsome
Shopify-Serverless-Starter-App
Shopify Serverless Starter Application built on Serverless Framework and Polaris UI (React.js)
Stars: ✭ 56 (+21.74%)
Mutual labels:  shopify
Developer Tools
Shopify Developer Tools is a macOS app that connects to your Shopify store(s) and allows you to make authenticated calls to the Admin API, generate dummy data, and view and customize Polaris components.
Stars: ✭ 254 (+452.17%)
Mutual labels:  shopify

Shopify starter for Gridsome

This is a boilerplate starter, aiming to showcase how Gridsome and Shopify can work together, to create an amazingly fast shopping experience for consumers. View Demo

This starter uses a source plugin (gridsome-source-shopify) to pull data from Shopify's Storefront API, and load it into Gridsome's data store - which you can then use to create pages (note that this only runs at build time). It also uses the Vue Apollo plugin client-side, to send queries/mutations (i.e. createCheckout) to the Storefront API when running in the browser.

Looking for more? https://github.com/thetre97/gridsome-starter-shopify-advanced

Shopify Setup

You will need to create a private app in Shopify, and give it access to the Storefront API - the default permissions should be fine for this starter. Make sure to note the Storefront API key, and your store name.

Installation

Install the Gridsome CLI.

npm install -g @gridsome/cli # or
yarn global add @gridsome/cli

Create Project

You can either directly download this repository, or use Gridsome's CLI to download and install dependencies for you.

# Clone repository
git clone https://github.com/thetre97/gridsome-starter-shopify.git
npm install # or
yarn install

# Download with CLI
gridsome create my-gridsome-site thetre97/gridsome-starter-shopify

Developing

You will need to add your Storefront API shop name (https://<shop-name>.myshopify.com) & token to an env file before running this starter. I also recommend you add some collections in Shopify to best show off this starter.

# Note env's are prefixed with GRIDSOME_ to make them available to apollo client side
GRIDSOME_SHOPIFY_STOREFRONT=<shop name>
GRIDSOME_SHOPIFY_STOREFRONT_TOKEN=<storefront token>

Or you can manually edit the Shopify Source Plugin's configurations in gridsome.config.js.

Enter the site folder, and run gridsome develop to start a local development server.

Happy coding!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].