1.1.0 • Published 4 years ago
node-shopify-storefront-data v1.1.0
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- Create a
.envfile with the following structure:
SHOPIFY_STORE_URL=*.myshopify.com
SHOPIFY_ACCESS_TOKEN=
SHOPIFY_API_VERSION=2022-01- Install the dependencies:
npm install- Run the demo locally:
node index.js