[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71414":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},71414,"nextjs-commerce","bagisto\u002Fnextjs-commerce","bagisto","Open source headless commerce that’s fast, flexible, and built to scale,launch stunning storefronts that convert and grow your business without limits.","https:\u002F\u002Fbagisto-headless.vercel.app\u002F",null,"TypeScript",5635,105,5,1,0,175,278,371,525,112.08,"MIT License",false,"main",true,[27,28,29,5,30],"headless","headless-commerce","nextjs","open-source-headless-ecommerce","2026-06-12 04:01:00","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fbagisto.com\u002Fen\u002Fheadless-ecommerce\u002F\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fbagisto\u002Ftemp-media\u002F0b0984778fae92633f57e625c5494ead1fe320c3\u002Fdark-logo-P5H7MBtx.svg\">\n      \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fbagisto.com\u002Fwp-content\u002Fthemes\u002Fbagisto\u002Fimages\u002Flogo.png\">\n      \u003Cimg src=\"https:\u002F\u002Fbagisto.com\u002Fwp-content\u002Fthemes\u002Fbagisto\u002Fimages\u002Flogo.png\" alt=\"Bagisto logo\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fbagisto.com\u002Fen\u002Fheadless-ecommerce\u002F\">Website\u003C\u002Fa> | \u003Ca href=\"https:\u002F\u002Fbagisto.com\u002Fen\u002Fbagisto-headless-ecommerce-installation-guide\u002F\">Documentation\u003C\u002Fa> | \u003Ca href=\"https:\u002F\u002Fforums.bagisto.com\u002F\">Forums\u003C\u002Fa> | \u003Ca href=\"https:\u002F\u002Fwww.facebook.com\u002Fgroups\u002Fbagisto\u002F\">Community\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fintent\u002Ffollow?screen_name=bagistoshop\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fbagistoshop?style=social\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fwww.youtube.com\u002Fchannel\u002FUCbrfqnhyiDv-bb9QuZtonYQ\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fyoutube\u002Fchannel\u002Fsubscribers\u002FUCbrfqnhyiDv-bb9QuZtonYQ?style=social\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fbagisto\u002Fbagisto\">\u003Cimg src=\"https:\u002F\u002Fposer.pugx.org\u002Fbagisto\u002Fbagisto\u002Flicense.svg\" alt=\"License\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n#  Bagisto Next.js Commerce\n\nA [**headless eCommerce framework**](https:\u002F\u002Fbagisto.com\u002Fen\u002Fheadless-ecommerce\u002F) built with **Next.js** and powered by **Bagisto**, designed for modern scalability and flexibility.\nThrough layered caching and optimized rendering strategies, it consistently achieves a **100\u002F100 Core Web Vitals score**, delivering lightning-fast performance and seamless shopping experiences.\n\nCheck the [Documentation](https:\u002F\u002Fheadless-doc.bagisto.com\u002F) to quickly set up your Headless eCommerce store.\n\n**Bagisto Version:** v2.4.x\n\n**Bagisto API:** v1.0.3\n\n![Bagisto Headless Commerce Image](https:\u002F\u002Fraw.githubusercontent.com\u002Fbagisto\u002Ftemp-media\u002Frefs\u002Fheads\u002Fmaster\u002Fbagisto-headless-commerce-home.png)\n## Features\n\n- **Ultra-fast storefront** with 100\u002F100 Core Web Vitals score.  \n- **Layered caching** for API responses and page rendering.  \n- Fully **responsive and mobile-friendly** design.  \n- SEO optimized with meta tags, OpenGraph, and Twitter cards.  \n- Secure authentication via **NextAuth.js**.  \n- Powered by **Bagisto** GraphQL APIs for robust commerce functionality.  \n- **Incremental Static Regeneration (ISR)** with revalidation.\n  \nBagisto Open Source Headless eCommerce is optimized to deliver a **100\u002F100 Core Web Vitals score** across devices, ensuring top-tier performance and user experience.\n\n![Bagisto Headless Commerce Image](https:\u002F\u002Fraw.githubusercontent.com\u002Fbagisto\u002Ftemp-media\u002Frefs\u002Fheads\u002Fmaster\u002Fbagisto-headless-commerce-performance.png)\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- **Node.js** 18+ and **pnpm**\n- Check Bagisto [backend requirement detail](https:\u002F\u002Fdevdocs.bagisto.com\u002F2.3\u002Fintroduction\u002Frequirements.html#server-configuration)\n\n---\n\n## Installation\n\n1) Install Bagisto\n \n    Begin by [installing the Bagisto](https:\u002F\u002Fdevdocs.bagisto.com\u002F) eCommerce platform on your server or local environment.\n\n2) Install the Bagisto Headless Extension\n\n    After installing Bagisto, install the [Bagisto Headless Extension](https:\u002F\u002Fgithub.com\u002Fbagisto\u002Fbagisto-api) to expose the required APIs for your frontend.\n\n3) Get your storefront up and running in one command:\n   \n   ```bash\n   npx -y @bagisto-headless\u002Fcreate your-storefront\n   ```\n   \n4) Configure `.env.local` in the Next.js Project\n\n   In your Next.js frontend project, create or update your `.env.local` file with the following variables:\n\n| Variable | Description | Example |\n|----------|-------------|---------|\n| `NEXT_PUBLIC_BAGISTO_ENDPOINT` | Enter Your Bagisto Shop URL | `https:\u002F\u002Fyour-store.bagisto.com\u002F` |\n| `NEXT_PUBLIC_BAGISTO_STOREFRONT_KEY` | Enter Your Bagisto Storefront Key | `pk_storefront_*************************` |\n| `NEXTAUTH_URL` | Enter Your Headless Shop URL | `https:\u002F\u002Fheadless-store.com\u002F` |\n| `NEXTAUTH_SECRET` | Enter Your Headless Shop Secret | Generate with `openssl rand -base64 32` |\n| `COMPANY_NAME` | Enter Your company name | Bagisto Headless Store |\n\n\n**Important Notes**  \n- You will need to use the environment variables defined in `.env.example` to run Next.js Commerce.  \n- It’s recommended to use **Vercel Environment Variables**, but a `.env` file is sufficient for local development.  \n- **Never commit your `.env` file** to version control — it contains secrets that would allow others to control your Bagisto store.\n\n\n## One-Click Deploy to Netlify\n\nClick the button above to deploy your own copy of Bagisto Headless eCommerce to Netlify instantly!\n\n[![Deploy to Netlify](https:\u002F\u002Fwww.netlify.com\u002Fimg\u002Fdeploy\u002Fbutton.svg)](https:\u002F\u002Fapp.netlify.com\u002Fstart\u002Fdeploy?repository=https:\u002F\u002Fgithub.com\u002Fbagisto\u002Fnextjs-commerce)\n\n---\n\n**Vercel Setup**\n\nInstall the Vercel CLI:\n\n```bash\nnpm i -g vercel\n```\n\nLink your local instance with Vercel and GitHub accounts (this creates the `.vercel` directory):\n\n```bash\nvercel link\n```\n\nDownload your environment variables:\n\n```bash\nvercel env pull\n```\n\n---\n\n**Run the development server:**\n\n```bash\npnpm dev\n```\n\n**Build for production:**\n\n```bash\npnpm build\npnpm start\n```\n\n---\n\n## Usage\n\nStart the development server:\n\n```bash\npnpm dev\n```\nAccess the store at:[http:\u002F\u002Flocalhost:3000](http:\u002F\u002Flocalhost:3000)\n\n---\n\n## Products\n\nThe Open Source Headless eCommerce allows users to browse a wide range of products with built-in pagination and search functionality. Each product has its own detailed page showcasing images, descriptions, pricing, reviews, and availability.\n\nBagisto Headless Commerce APIs support multiple product types, including simple, configurable, bundled, and downloadable products, ensuring flexibility for different business needs.\n\n![Bagisto Headless Commerce Image](https:\u002F\u002Fraw.githubusercontent.com\u002Fbagisto\u002Ftemp-media\u002Frefs\u002Fheads\u002Fmaster\u002Fbagisto-headless-commerce-product-page.png)\n\n## Categories\n\nProducts are neatly organized into hierarchical categories, making it easy for customers to navigate the store. Each category page displays relevant product listings with filtering and sorting options for a better shopping experience.\n\nThe Open Source Headless eCommerce also ensures SEO-friendly category URLs with meta titles, descriptions, and breadcrumbs for improved discoverability.\n\n![Bagisto Headless Commerce Image](https:\u002F\u002Fraw.githubusercontent.com\u002Fbagisto\u002Ftemp-media\u002Frefs\u002Fheads\u002Fmaster\u002Fbagisto-headless-commercecategory.png)\n \n## Checkout\n\nThe checkout process is fully functional, featuring complete cart management where customers can add, update, or remove items.\n\nBoth guest and logged-in users can proceed through checkout, selecting shipping addresses and preferred payment methods.\n\nOnce the order is placed, it is instantly synchronized with the Bagisto backend, enabling smooth order processing and management.\n\n![Bagisto Headless Commerce Image](https:\u002F\u002Fraw.githubusercontent.com\u002Fbagisto\u002Ftemp-media\u002Frefs\u002Fheads\u002Fmaster\u002Fbagisto-headless-commerce-cart-checkout.png)\n\n## Community\nGet Bagisto Headless Commerce support on [Facebook Group](https:\u002F\u002Fwww.facebook.com\u002Fgroups\u002Fbagisto) and [Forum](https:\u002F\u002Fforums.bagisto.com\u002F)\n\n## License\nBagisto headless eCommerce framework that will always remain free under the [MIT License](https:\u002F\u002Fgithub.com\u002Fbagisto\u002Fnextjs-commerce\u002Fblob\u002Fmain\u002Flicense.md).\n\n## Security Vulnerabilities\nIf you think that you have found a security issue in Bagisto Headless Commerce, please do not use the issue tracker and do not post it publicly. Instead, all security issues must be sent to [mailto:support@bagisto.com](mailto:support@bagisto.com).\n","Bagisto Next.js Commerce 是一个基于 Next.js 构建的无头电商框架，旨在提供快速、灵活且可扩展的电商解决方案。该项目通过分层缓存和优化渲染策略，实现了100\u002F100的核心网页指标得分，确保了卓越的性能和无缝的购物体验。其核心功能包括超快的店面加载速度、响应式设计、SEO 优化以及通过 Bagisto GraphQL API 提供的强大商务功能。此外，它还支持安全认证（NextAuth.js）和增量静态再生（ISR）。该框架非常适合需要高性能和高度自定义能力的现代电商平台使用。",2,"2026-06-11 03:37:37","high_star"]