Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 636 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 636 Bytes

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