payments-commerce / app
Bagisto Next.js Commerce
Capability: Bagisto Next.js Commerce
Use it when
- You run a Bagisto store and need a fast modern storefront with product browsing, cart, checkout, and customer accounts without hand-building the frontend
- You want a performance-oriented Next.js starter with ISR and layered caching already wired to Bagisto GraphQL commerce APIs
What it solves
Not the fit when
- Stores not running Bagisto; the storefront depends on Bagisto GraphQL APIs and the Bagisto Headless Extension.
- Assuming the starter guarantees a particular Core Web Vitals or Lighthouse score; measure the deployed storefront with your catalog, integrations, traffic, and hosting.
- Payment-gateway setup independent of Bagisto; checkout behavior still depends on the backend and configured integrations.
- Committing environment files or storefront secrets to source control.
- setting up the ecommerce backend itself
- payment gateway integration from scratch
- storefront for non-Bagisto backends
- keeping billing and entitlements in sync
Install
npx -y @bagisto-headless/create your-storefront (requires a Bagisto backend with the Bagisto Headless Extension installed)
Invoke
Set NEXT_PUBLIC_BAGISTO_ENDPOINT, NEXT_PUBLIC_BAGISTO_STOREFRONT_KEY, NEXTAUTH_URL, and NEXTAUTH_SECRET in .env.local, then npm run dev and open http://localhost:3000; npm run build && npm run start for production, or one-click deploy to Netlify.
Alternatives
No reviewed alternatives recorded yet.