Authentication, Stripe billing, token-streaming chat, usage metering and a type-safe Postgres layer — compiled, verified, documented. You write the product.
Get the kit — $129See what's insideEmail+password (scrypt) plus optional Google/GitHub OAuth that auto-enables when env vars exist. JWT sessions.
Stripe Checkout subscriptions with signed webhooks keeping your database in sync automatically.
Token-streaming /api/chat route with per-user daily limits — Free 10k, Pro 1M tokens per day.
Every token logged server-side. Rate limits enforced before a single token is spent.
Drizzle ORM schema you can read in one sitting: users, subscriptions, usage.
Ships after a clean production build. Dark landing, pricing and dashboard pages included.
cp .env.example .env.local
npm install
npm run db:push
npm run dev → localhost:3000
$199$129