A Github hosted ecommerce example. It's a website where you can sell this free code for a dollar, see it live
- (5-10 minutes) Fork this repo, enable git pages for the main branch docs folder
- (10-20 minutes) Create a stripe account, Enable client only checkout (add your domain <USERNAME>.github.io), collect your public and private api keys
- (1 minute) Run the follwing code which adds a product to your stripe account and rebuilds the website with your public api key and product_id
git clone YOUR-FORK-URL && cd button
npm install
node quickstart.js --publickey PUBLIC_APIKEY --privatekey PRIVATE_APIKEY
git commit -m "Let's make some money" && git push
git clone YOUR-FORK-URL && cd button
docker build --tag button .
docker run -it -v $PWD/docs:/button/docs button --publickey PUBLIC_APIKEY --privatekey PRIVATE_APIKEY
git commit -m "Let's make some money" && git push
Name | Purpose |
---|---|
docs | Where website is built into/served from |
src | Where website is developed |
quickstart.js | Script to add a "button" product to stripe |
package.json | Nodejs dependency management file |
dockerfile | Docker container setup file |
- Vue
- Vite
- Stripe
- Nodejs
- Stripe API
- Stripe API Keys
- Vue Stripe library
- Stripe testing info
- Stripe checkout logo
- Checkout Stripe payouts
- @Fireship Vue, Vite, Stripe
- Software liscense brochure
- Vite environment variables
- Vite change build directory
- Access URL query paramaters
- Access url properties using javascript