create-perfect-template
Version:
Create a modern Next.js SaaS template with progressive feature activation
72 lines (51 loc) ⢠1.6 kB
Markdown
# create-perfect-template
Create a modern Next.js SaaS template with progressive feature activation.
## Usage
```bash
# With npx (recommended)
npx create-perfect-template@latest my-app
# With npm
npm create perfect-template@latest my-app
# With yarn
yarn create perfect-template my-app
# With pnpm
pnpm create perfect-template my-app
```
## Interactive Setup
The CLI will guide you through setting up your project:
```
š Welcome to Perfect Template!
? What is your project name? my-saas-app
? Which features would you like to include?
ā š Authentication (Clerk)
ā šļø Database (Convex)
⯠š³ Billing (Autumn)
ā š¤ AI Integration (OpenAI/Anthropic)
⯠š§ Email (Resend)
```
## Features
- **Next.js 15** - Latest Next.js with App Router
- **TypeScript** - Full type safety
- **Tailwind CSS** - Utility-first CSS
- **shadcn/ui** - Beautiful components
- **Progressive Setup** - Add features as you need them
### Optional Features
- š **Authentication** - Clerk integration
- šļø **Database** - Convex real-time database
- š³ **Billing** - Autumn subscription management
- š¤ **AI** - OpenAI & Anthropic integration
- š§ **Email** - Resend transactional emails
## Options
```bash
# Skip dependency installation
npx create-perfect-template my-app --skip-install
# Use specific package manager
npx create-perfect-template my-app --use-yarn
npx create-perfect-template my-app --use-pnpm
```
## After Installation
1. Navigate to your project directory
2. Add your API keys to `.env.local`
3. Run `npm run dev` to start development
## License
MIT