Mirror of Gatsby starter for creating an eCommerce site using Moltin eCommerce API.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Parminder Sanghera 799183105c
Merge pull request #38 from parmsang/license-update
3 weeks ago
cypress test: replace 'wait(50)' with waitForRouteChange 9 months ago
lib uses new Moltin store with updated content. Updates graphql queries accordingly. 9 months ago
src uses new Moltin store with updated content. Updates graphql queries accordingly. 9 months ago
static updates favicons 2 years ago
tests refactor: use SEO component 1 year ago
.babelrc removed unwanted modules and plugins 1 year ago
.eslintrc feature: added logout button/link to menu 1 year ago
.gitignore chore: update prettier and gitignore settings 1 year ago
.prettierignore chore: update prettier and gitignore settings 1 year ago
.travis.yml first commit 2 years ago
LICENSE Update LICENSE 3 weeks ago
README.md Update README.md 8 months ago
cypress.json chore: set up cypress and add a smoke test 1 year ago
gatsby-browser.js refactor: move providers into gatsby-browser 1 year ago
gatsby-config.js uses new Moltin store with updated content. Updates graphql queries accordingly. 9 months ago
gatsby-node.js remove unnecessary use of createRemoteFileNode in gatsby-node 1 year ago
gatsby-ssr.js refactor: move providers into gatsby-browser 1 year ago
jest.config.js chore: further jest configuration to get test working 1 year ago
lint-staged.config.js update packages 11 months ago
package-lock.json chore(deps): bump websocket-extensions from 0.1.3 to 0.1.4 2 months ago
package.json Update broken tests and outdated dependencies 10 months ago
prettier.config.js chore: update prettier and gitignore settings 1 year ago
wrap-with-provider.js refactor: move providers into gatsby-browser 1 year ago

README.md

Gatsby Starter eCommerce

Gatsby starter for creating an eCommerce site using Moltin eCommerce Api .

This starter adapts an existing NextJS eCommerce starter for GatsbyJS.

Demo: https://parmsang.github.io/gatsby-starter-ecommerce/

This starter originally used Gatsby v1 and has now been updated to v2. The original version can be found in branch “gatsby-v1”.

Getting started

Install this starter (assuming Gatsby is installed) by running from your CLI:

gatsby new gatsby-store https://github.com/parmsang/gatsby-starter-ecommerce

Running in development

npm run develop

Additional Setup

Both a moltin and Stripe account are needed for this store to run successfully.

Create a .env.development and .env.production file at the project root with your moltin client_id and Stripe test publishable key.

MOLTIN_CLIENT_ID=
STRIPE_PUBLISHABLE_KEY=

Features

  • Moltin eCommerce API
  • React 16
  • PWA (includes manifest.webmanifest & offline support)
  • Eslint & Prettier
  • Styled Components
  • Google Analytics - (you enter the tracking-id)
  • Semantic-UI
  • Authentication via Moltin (Login and Register)
  • Stripe checkout