Required API for mutations can be found in API branch
More info about this written here for better understanding Creating Static E-commerce site with GatsbyJs
- Fork or download this repository
- Ready!
To change site config ./src/config/index.js
also add .env
file in the root, with content for example:
CONTENTFUL_SPACE_ID=YOUR_KEY_HERE
CONTENTFUL_DELIVERY_API_TOKEN=YOUR_KEY_HERE
STRIPE_PUBLISHABLE_KEY=YOUR_KEY_HERE
Run:
npm install
To start development server
npm start
npm run build
npm serve