Skip to content
Branch: master
Find file History
thiskevinwang Update README: Configuring
- update the code snippet to match `src/index.js`
Latest commit 3960d27 Jan 29, 2019


An example using js-buy-sdk built with React. This project was bootstrapped with Create React App.


You will need the following things properly installed on your computer.


  • git clone this repository
  • cd storefront-api-examples
  • cd react-js-buy
  • yarn install


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

const client = Client.buildClient({
  storefrontAccessToken: 'your-storefront-access-token',
  domain: '',


Start a local server:

yarn start

Further Reading / Useful Links


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

Code of Conduct

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


MIT, see LICENSE for details.

You can’t perform that action at this time.