https://github.com/raae/gatsby-stripe-store-starter
https://github.com/raae/gatsby-stripe-store-starter
bulma gatsby stripe
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/raae/gatsby-stripe-store-starter
- Owner: raae
- License: mit
- Created: 2018-10-06T07:31:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-07T02:51:17.000Z (almost 5 years ago)
- Last Synced: 2025-02-28T19:30:37.539Z (2 months ago)
- Topics: bulma, gatsby, stripe
- Language: JavaScript
- Size: 506 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gatsby-stripe-store-starter
This starter creates a store with inventory from a Stripe account.
It uses the gatsby-source-stripe plugin to pull in the data.
TODO: Add checkout flow
## How to use
1. Clone repo
2. Move into the repo folder
3. Do `npm install``### Development
- Run `STRIPE_SECRET_KEY= GATSBY_STRIPE_PUBLISHABLE_KEY= gatsby develop`.
- There are also some optional build variables, look below.### Deployment
- Create new netlify site
- Add build environment variables using the Netlify GUI
- SITE_TITLE
- SITE_DESCRIPTION
- SITE_LANG ("no" for norwegian )
- SITE_LOCALE ("no-bok" for norwegian currency )
- STRIPE_SECRET_KEY (used to fetch products and skus)
- GATSBY_STRIPE_PUBLISHABLE_KEY (used for checkout flow)
- Set up continuous deployment from this repo on Github.It is possible to use production key for STRIPE_SECRET_KEY and test key for GATSBY_STRIPE_PUBLISHABLE_KEY, but payment will fail as the sku will not exist in test.