GitHub - parmsang/gatsby-starter-ecommerce: Gatsby starter for creating an eComm...
source link: https://github.com/parmsang/gatsby-starter-ecommerce
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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/
Warning
This starter is currently work in progress
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
gatsby develop
Additional Setup
Both a moltin and Stripe account are needed for this store to run successfully.
Create a .env
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
- Eslint & Prettier
- Styled Components
- Google Analytics - (you enter the tracking-id)
- Semantic-UI
- Authentication via Moltin (Login and Register)
- Stripe checkout
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK