🚀 A modern, scalable Next.js e-commerce storefront built with Shopify's Storefront API, TypeScript, TailwindCSS, and TanStack Query.
Watch the full walkthrough on YouTube: Next.js Shopify Storefront Tutorial
- 🔐 Authentication - Secure customer login with Shopify Storefront API
- 🛍 Dynamic Product Fetching - Retrieve and display products, collections, and details dynamically
- 🛒 Cart Functionality - Add, remove, and update items in the cart
- ⚡ Optimized Performance - Efficient API caching and UI rendering with TanStack Query
- 🎨 Fully Responsive UI - Styled with TailwindCSS for a seamless shopping experience
- Next.js (App Router)
- TypeScript
- TailwindCSS
- TanStack Query
- Shopify Storefront API
- Clone the repository
git clone https://github.com/chetanverma16/nextjs-shopify-starter.git cd nextjs-shopify-starter
- Install dependencies
npm install # or yarn install
- Create a
.env.local
file and add your Shopify API credentials:SHOPIFY_STORE_DOMAIN=your-store.myshopify.com SHOPIFY_STOREFRONT_ACCESS_TOKEN=your-access-token
- Run the development server
npm run dev # or yarn dev
- Open http://localhost:3000 in your browser.
- Agency: Webmakers Studio
- UI Components: Webmakers UI
Feel free to open an issue or submit a pull request if you find a bug or have suggestions for improvements. Don't forget to ⭐ the repo if you find it helpful!
This project is open-source and available under the MIT License.