## What is Your Next Store?

Your Next Store (YNS) is a modern, developer-first commerce platform. It gives you everything you need to launch and run an online store — a managed backend, a TypeScript SDK, and a production-ready storefront template.

YNS is built on **Next.js** and **Stripe**, designed for speed and simplicity. Whether you're launching a side project or building a serious ecommerce business, YNS handles the infrastructure so you can focus on your products.

## The YNS Ecosystem

The platform consists of three parts:

### YNS Platform

The managed backend at [yns.store](https://yns.store). It provides:

- Product, variant, and inventory management
- Cart and checkout powered by Stripe
- Order management and customer records
- Collection and category organization
- Blog posts and legal pages
- REST API for programmatic access

### Commerce SDK

A lightweight TypeScript SDK (`commerce-kit`) that wraps the YNS API. It provides typed methods for every API endpoint, zero-config initialization, and works in any JavaScript runtime.

```ts
import { Commerce } from "commerce-kit";

const commerce = Commerce();
const products = await commerce.productBrowse({ limit: 10 });
```

### Storefront Template

An open-source Next.js storefront at [github.com/yournextstore/yournextstore](https://github.com/yournextstore/yournextstore). It's a production-ready starter that connects to your YNS backend via the Commerce SDK. Deploy it to Vercel with one click.

## Key Features

- **Stripe-native payments** — checkout, subscriptions, and billing handled by Stripe
- **Server Components** — fast, streaming UI with React Server Components
- **Fully typed** — end-to-end TypeScript from API to UI
- **AI-friendly** — designed to work well with Claude Code, Cursor, and other AI tools
- **One-click deploy** — deploy your storefront to Vercel in minutes