BOILERPLATE • V1.2.0
4.2 MB ZIP
STRICT TYPESCRIPT
READY FOR DEPLOY
Next.js AI Micro-SaaS Starter
Commercial-grade AI boilerplate with streaming LLMs, Supabase auth, and Stripe billing.
# Clone repository release
git clone https://github.com/ashrweb/release-package.git
# Enter workspace & install dependencies
cd release-package
npm install --save-exact
# Configure local environment
cp .env.example .env.local
# Launch local development server
npm run dev
✓ Server live on http://localhost:3000 (Compiled in 420ms)
├── app/
│ ├── (auth)/login/page.tsx # Supabase SSR cookie session guard
│ ├── api/ai/stream/route.ts # Vercel AI SDK real-time token stream
│ ├── api/webhooks/stripe/route.ts# Cryptographic signature verification
│ ├── dashboard/page.tsx # Authenticated metrics & billing tier
│ └── layout.tsx
├── components/
│ ├── ai-stream-panel.tsx # Markdown token streaming UI
│ └── ui/ # Tailored accessible Tailwind primitives
├── lib/
│ ├── supabase/client.ts # Strict typed PostgreSQL client
│ └── stripe/subscriptions.ts # Customer portal & checkout sessions
└── package.json # Zero unneeded runtime dependencies
# LLM & AI Engine Credentials
OPENAI_API_KEY=sk-proj-live-production-token
# Database & Supabase SSR Cookies
NEXT_PUBLIC_SUPABASE_URL=https://app-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5c...
# Payment Gateway & Webhook Signature
STRIPE_SECRET_KEY=sk_live_51M000000000000
STRIPE_WEBHOOK_SECRET=whsec_signature_verified
[01] ARCHITECTURE OVERVIEW
ENGINEERING SPEC
A battle-tested, production-ready full-stack starter kit designed to help developers and indie hackers build and launch profitable AI applications in days, not months. Features real-time token streaming with Vercel AI SDK, turnkey Supabase auth, and automated Stripe billing.
[02] CORE DELIVERABLES & CAPABILITIES
VERIFIED FEATURES
FREE
SPONSORED GATEWAY
FRAMEWORK
Next.js 15 App Router
TYPING
TypeScript Strict (5.6+)
DATABASE
PostgreSQL + RLS
FILE SIZE
4.2 MB ZIP
CHECKSUM
SHA-256 VERIFIED
LICENSE
MIT COMMERCIAL USE