Skip to content

canfie1d/react-shopify-storefront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-js-buy-sdk

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

Prerequisites

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

Installation

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

Configuring

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

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

Running

Start a local server:

yarn start

Further Reading / Useful Links

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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published