1.1.0 • Published 2 years ago

node-shopify-storefront-data v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Retrieve your Shopify products, pages, and collections.

Installation

The example above is using dotenv with a .env file to ensure credentials are not stored in the source code. Here's an example of the .env file:

SHOPIFY_STORE_URL=*.myshopify.com
SHOPIFY_ACCESS_TOKEN=
SHOPIFY_API_VERSION=2021-10
  1. Create a .env file with the following structure:
   SHOPIFY_STORE_URL=*.myshopify.com
   SHOPIFY_ACCESS_TOKEN=
   SHOPIFY_API_VERSION=2022-01
  1. Install the dependencies:
npm install
  1. Run the demo locally:
node index.js