A serverless function to process stripe payments with Nuxt, Netlify, and Lambda
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 run install
# serve with hot reload at localhost:3000
$ yarn dev or npm run dev
# build for production and launch server
$ yarn build or npm run build
$ yarn start or npm run start
# generate static project
$ yarn generate or npm run generate