Serverless ecommerce platform with Nuxt, Netlify and Shopify
Demo site is here: E-Commerce Store
# 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
- 3 reasons why you should consider JAMstack for your ecommerce store: The bemefits of JAMstack ecommerce
I took inspiration from these 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
For detailed explanation on how things work, checkout Nuxt.js docs.