๐ Ecommerce Store with Netlify Functions and Stripe
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
Build Setup
# 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
For detailed explanation on how things work, checkout Nuxt.js docs.