Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Latest commit

 

History

History

node-js-buy

node-js-buy

An example using js-buy-sdk built with Node, Express and Pug.

Prerequisites

Installation

  • git clone https://github.com/Shopify/storefront-api-examples.git this repository
  • cd storefront-api-examples
  • cd node-js-buy
  • yarn install

Configuring

If you would like to connect your store to this example, open up src/js-buy-sdk.js and update the domain and storefrontAccessToken:

const config = new Config({
  storefrontAccessToken: 'your-storefront-access-token',
  domain: 'your-shop-name.myshopify.com',
});

Running

Contributing

For help on setting up the repo locally, building, testing, and contributing please see CONTRIBUTING.md.

Code of Conduct

All developers who wish to contribute through code or issues, take a look at the CODE_OF_CONDUCT.md.

License

MIT, see LICENSE for details.