UNPKG

create-perfect-template

Version:

Create a modern Next.js SaaS template with progressive feature activation

72 lines (51 loc) • 1.6 kB
# 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