0.1.1 โ€ข Published 5 months ago

create-ai-saas-app v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

AI SaaS Starter Template

A modern AI SaaS starter template with Next.js, Shadcn UI, Clerk Auth, Stripe, and Turso DB.

Features

  • ๐Ÿš€ Next.js 15 with App Router
  • ๐Ÿ’… Shadcn UI for beautiful, accessible components
  • ๐Ÿ”’ Clerk Authentication
  • ๐Ÿ’ณ Stripe Integration for subscriptions
  • ๐Ÿ“Š Turso Database with Drizzle ORM
  • ๐ŸŒ™ Dark mode with next-themes
  • ๐Ÿ”” Toast notifications with Sonner
  • ๐Ÿ“ฑ Fully responsive design
  • ๐Ÿ” SEO optimized
  • ๐Ÿงฉ TypeScript for type safety
  • ๐Ÿงช ESLint for code quality

Getting Started

Using the template

bunx create-next-app@latest -e https://github.com/yourusername/ai-saas-starter
# or
npx create-next-app@latest -e https://github.com/yourusername/ai-saas-starter

Setup environment variables

  1. Copy the .env.example file to .env.local
  2. Fill in the required environment variables:
    • Clerk Authentication keys
    • Stripe API keys
    • Turso Database credentials

Install dependencies

bun install
# or
npm install

Run the development server

bun dev
# or
npm run dev

Open http://localhost:3000 with your browser to see the result.

Database Setup

This template uses Turso with Drizzle ORM. To set up your database:

# Push schema to database
bun db:push

# Generate migrations
bun db:generate

# Run migrations
bun db:migrate

# Open Drizzle Studio
bun db:studio

Deployment

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out the Next.js deployment documentation for more details.

License

MIT

0.1.1

5 months ago

0.1.0

5 months ago