Skip to content

Open-Source Next.js commerce. Stripe-native, ultra fast page loads, typed APIs. Built for AI development (Claude, Codex, Cursor).

Notifications You must be signed in to change notification settings

client-side-dev/yournextbeveragestore

 
 

Repository files navigation

Your Next Store

Open-source Next.js e-commerce.

Stripe-native, ultra fast page loads, typed APIs.
Built for AI development (Claude, Codex, Cursor).

Discord Deploy with Vercel Product Hunt

AI-Friendly Codebase Consistent patterns, typed APIs
Blazing Fast Next.js 16, React Compiler, edge caching
Stripe-Native Direct API integration, no plugins
Open Source self-host storefront anywhere

Quick Start

git clone https://github.com/yournextstore/yournextstore.git
cd yournextstore && bun install
cp .env.example .env.local   # Add your YNS_API_KEY from yns.app/admin
bun dev

Open localhost:3000 — your store is running.

Why AI Coding Tools Work Better Here

Familiar patterns Idiomatic Next.js App Router code (Server Components, Server Actions, "use cache") matches what LLMs have seen thousands of times. Less guessing, more accurate suggestions.
Typed APIs Commerce Kit SDK methods like productBrowse() and cartUpsert() have defined input/output shapes. LLMs write correct code when they know the contracts.
Bounded domain Commerce is well-defined: products, variants, carts, checkout. The data models already exist with clear types - no need for the LLM to invent them.

Tech Stack

  • Next.js 16 – App Router, React Server Components, React Compiler
  • Bun – Fast JavaScript runtime and package manager
  • Commerce Kit SDK – Headless commerce API integration
  • Tailwind CSS v4 – Modern utility-first styling
  • Shadcn UI – Accessible component library with Radix UI primitives
  • Biome – Lightning-fast linter and formatter
  • TypeScript – Type-safe development

Prerequisites

Environment Variables

Copy .env.example to .env.local and set:

  • YNS_API_KEY – Your API token from the admin panel

Next steps

Refer to the documentation found at yns.app/admin/api/endpoints for more information on how to fetch products or create carts in your store.

About

Open-Source Next.js commerce. Stripe-native, ultra fast page loads, typed APIs. Built for AI development (Claude, Codex, Cursor).

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MDX 90.6%
  • TypeScript 9.2%
  • Other 0.2%