/gatsbyjs-ecommerce

Static E-commerce site built using GatsbyJs

Primary LanguageJavaScript

Every Day Organic

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

Stack

To use

  • 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

Setup

Run:

npm install

Development

To start development server

npm start

Deployment

npm run build
npm serve