An open API service indexing awesome lists of open source software.

https://github.com/thorwebdev/gatsby-ecommerce-stripe


https://github.com/thorwebdev/gatsby-ecommerce-stripe

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          



Gatsby



Gatsby E-Commerce Starter

This is a Gatsby e-commerce example based on https://www.gatsbyjs.org/tutorial/ecommerce-tutorial/

## Setup

- First, you must enable client-only Checkout in your Stripe Dashboard: https://dashboard.stripe.com/account/checkout/settings
- Next, create a product and price from the Stripe Dashboard: https://dashboard.stripe.com/test/products

### Run locally

- `git clone https://github.com/thorsten-stripe/ecommerce-gatsby-tutorial.git`
- Make a copy of the example .env file: `cp .env.example .env.development`
- Add your Stripe API keys to the newly created `.env.development` file.
- run `npm install`
- run `gatsby develop`

### 💫 Deploy with Netlify

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/thorsten-stripe/ecommerce-gatsby-tutorial)