A serverless function to process stripe payments with Nuxt, Netlify, and Lambda
Demo site is here: E-Commerce Store
There are two articles explaining how this site is set up:
- Explanation of Netlify Functions and Stripe: Let's Build a JAMstack E-Commerce Store with Netlify Functions
- Explanation of dynamic routing in Nuxt for the individual product pages: Creating Dynamic Routes in Nuxt Application
# install dependencies
$ yarn install or npm install
# serve with hot reload at localhost:3000
$ yarn dev or npm dev
# build for production and launch server
$ yarn build or npm build
$ yarn start or npm start
# generate static project
$ yarn generate or npm generate
For detailed explanation on how things work, checkout Nuxt.js docs.