MCPcopy Index your code
hub / github.com/bencodezen/shopify-nuxt-kit

github.com/bencodezen/shopify-nuxt-kit @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
6 symbols 7 edges 13 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Shopify Nuxt Kit

A starter template kit for those looking to use Shopify's new Cart API with Nuxt 2 on Netlify.

Deploy to Netlify

Configuration

You need to set the following environment variables in your Netlify dashboard:

  • SHOPIFY_API_ENDPOINT: Example https://example.myshopify.com/api/unstable/graphql.json
  • SHOPIFY_STOREFRONT_API_TOKEN: Example asdfj8fjhd83js83dhdhs8s

Build Setup

Prerequisite: Netlify CLI and Node 16

# install dependencies
$ npm install

# serve with hot reload at localhost:8888
$ ntl dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

Credit

Big hat tip to Sarah's Netlify E-commerce Site which served as a big inspiration for the current design.

Core symbols most depended-on inside this repo

formatCurrency
called by 3
utils/currency.js
state
called by 0
store/cart.js
setBase
called by 0
store/cart.js
setId
called by 0
store/cart.js
updateBase
called by 0
store/cart.js
updateId
called by 0
store/cart.js

Shape

Function 6

Languages

TypeScript100%

Modules by API surface

store/cart.js5 symbols
utils/currency.js1 symbols

For agents

$ claude mcp add shopify-nuxt-kit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact