Skip to content

A sample shop that shows how to manage payments with Vue, Stripe, and Serverless Functions

License

Notifications You must be signed in to change notification settings

LogiGear/sample-vue-shop

 
 

Repository files navigation

Vue Sample Shop

This small demo shows how to accept payments with stripe with Vue.js using a serverless function. It's actually not that bad to set up! The shop also shows how a number of concepts work in Vue. Server side rendering and routing is done with Nuxt.js. Centralized state management with Vuex for product details. Of note, using computed properties, .sync, CSS Grid, and transition-group.

Live demo at https://demo.gondolatest.com/

Articles explaining the demo will be available soon at https://css-tricks.com/

The serverless function is open source as well, available at this repo https://github.com/sdras/sample-stripe-handler

Vue stripe sample shop

Build Setup

# install dependencies
$ yarn

# serve with hot reload at localhost:3000
$ yarn dev

# generate static project, get ready for launch on app services
$ yarn generate

Credits

About

A sample shop that shows how to manage payments with Vue, Stripe, and Serverless Functions

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 86.3%
  • TypeScript 5.5%
  • CSS 3.5%
  • JavaScript 2.6%
  • Batchfile 1.9%
  • Shell 0.2%