✨✨✨ An eCommerce template using TailWindCSS and NextJS Incremental Static Regeneration with WooCommerce's WooGraphQL and WP Headless CMS in the backend
This project is the version 2 of my original React eCommerce template. This version implements ISR or the Incremental Static Regeneration mode of NextJS framework. Instead of using built in REST API support, this project implements GraphQL via Apollo Client and WPGraphQL and WooGraphQL in the Wordpress Headless CMS backend. WooGraphQL exposes WooCommerce data via GraphQL.
The design system is powered by Tailwind CSS.
You can check the demo here!
You should have a basic knowledge of NextJS framework and Wordpress in order to set up this project.
git clone https://github.com/loq24/react-woocommerce
cd react-woocommerce
yarn install or npm install
yarn dev or npm run dev
Make sure that you update the .env file with your own WP url backend. Then open http://localhost:3000/
MIT