@digilogiclabs/create-saas-app 1.10.7 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +331 -350
- package/dist/.tsbuildinfo +1 -1
- package/dist/cli/commands/create.js +2 -2
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/generators/template-generator.d.ts.map +1 -1
- package/dist/generators/template-generator.js +14 -2
- package/dist/generators/template-generator.js.map +1 -1
- package/dist/templates/web/ui-auth/template/.claude +21 -0
- package/dist/templates/web/ui-auth/template/context.md +105 -0
- package/dist/templates/web/ui-auth/template/package.json +2 -2
- package/dist/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +801 -0
- package/dist/templates/web/ui-auth/template/src/app/setup/page.tsx +403 -0
- package/dist/templates/web/ui-auth-payments/template/package.json +3 -3
- package/dist/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +801 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +507 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +127 -32
- package/dist/templates/web/ui-auth-payments-ai/template/.claude +21 -0
- package/dist/templates/web/ui-auth-payments-ai/template/.env.example +22 -0
- package/dist/templates/web/ui-auth-payments-ai/template/README.md +207 -0
- package/dist/templates/web/ui-auth-payments-ai/template/context.md +169 -0
- package/dist/templates/web/ui-auth-payments-ai/template/middleware.ts +68 -0
- package/dist/templates/web/ui-auth-payments-ai/template/next.config.js +12 -0
- package/dist/templates/web/ui-auth-payments-ai/template/package-lock.json +12241 -0
- package/dist/templates/web/ui-auth-payments-ai/template/package.json +55 -0
- package/dist/templates/web/ui-auth-payments-ai/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/ai/page.tsx +310 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/audio/route.ts +56 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/chat/route.ts +49 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/text/route.ts +64 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/video/route.ts +73 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +211 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/checkout/page.tsx +142 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/layout.tsx +22 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +183 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +801 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/globals.css +43 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/layout.tsx +35 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/loading.tsx +20 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/login/page.tsx +6 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +384 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.backup +391 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.bak +391 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +645 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/signup/page.tsx +6 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/__tests__/example.test.tsx +49 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/auth-status.tsx +52 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +144 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +185 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +36 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/theme-provider.tsx +96 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/shared/footer.tsx +36 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/shared/header.tsx +246 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/ui/badge.tsx +36 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/ui/theme-toggle.tsx +34 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/actions/auth.ts +246 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/actions/index.ts +14 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/auth-server.ts +177 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/env.ts +49 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/supabase/server.ts +72 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/utils.ts +140 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-auth-payments-ai/template/tailwind.config.js +77 -0
- package/dist/templates/web/ui-auth-payments-ai/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-auth-payments-ai/template/tsconfig.tsbuildinfo +1 -0
- package/dist/templates/web/ui-auth-payments-ai/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth-payments-audio/template/package.json +3 -3
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +22 -20
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.backup +391 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.bak +391 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/setup/page.tsx +345 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +122 -37
- package/dist/templates/web/ui-auth-payments-video/template/package.json +3 -3
- package/dist/templates/web/ui-auth-payments-video/template/src/app/setup/page.tsx +351 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +122 -37
- package/package.json +1 -1
- package/src/templates/web/ui-auth/template/.claude +21 -0
- package/src/templates/web/ui-auth/template/context.md +105 -0
- package/src/templates/web/ui-auth/template/package.json +2 -2
- package/src/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +801 -0
- package/src/templates/web/ui-auth/template/src/app/setup/page.tsx +403 -0
- package/src/templates/web/ui-auth-payments/template/package.json +3 -3
- package/src/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +801 -0
- package/src/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +507 -0
- package/src/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +127 -32
- package/src/templates/web/ui-auth-payments-ai/template/.claude +21 -0
- package/src/templates/web/ui-auth-payments-ai/template/.env.example +22 -0
- package/src/templates/web/ui-auth-payments-ai/template/README.md +207 -0
- package/src/templates/web/ui-auth-payments-ai/template/context.md +169 -0
- package/src/templates/web/ui-auth-payments-ai/template/middleware.ts +68 -0
- package/src/templates/web/ui-auth-payments-ai/template/next.config.js +12 -0
- package/src/templates/web/ui-auth-payments-ai/template/package-lock.json +12241 -0
- package/src/templates/web/ui-auth-payments-ai/template/package.json +55 -0
- package/src/templates/web/ui-auth-payments-ai/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/ai/page.tsx +310 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/audio/route.ts +56 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/chat/route.ts +49 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/text/route.ts +64 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/video/route.ts +73 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +211 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/checkout/page.tsx +142 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/layout.tsx +22 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +183 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +801 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/globals.css +43 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/layout.tsx +35 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/loading.tsx +20 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/login/page.tsx +6 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +384 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.backup +391 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.bak +391 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +645 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/signup/page.tsx +6 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/__tests__/example.test.tsx +49 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/client/auth-status.tsx +52 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +144 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +185 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +36 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/theme-provider.tsx +96 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/shared/footer.tsx +36 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/shared/header.tsx +246 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/ui/badge.tsx +36 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/ui/theme-toggle.tsx +34 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/actions/auth.ts +246 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/actions/index.ts +14 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/auth-server.ts +177 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/env.ts +49 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/supabase/server.ts +72 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/utils.ts +140 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-auth-payments-ai/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth-payments-ai/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth-payments-ai/template/tsconfig.tsbuildinfo +1 -0
- package/src/templates/web/ui-auth-payments-ai/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth-payments-audio/template/package.json +3 -3
- package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +22 -20
- package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.backup +391 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.bak +391 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/setup/page.tsx +345 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +122 -37
- package/src/templates/web/ui-auth-payments-video/template/package.json +3 -3
- package/src/templates/web/ui-auth-payments-video/template/src/app/setup/page.tsx +351 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +122 -37
package/README.md
CHANGED
|
@@ -1,496 +1,477 @@
|
|
|
1
1
|
# @digilogiclabs/create-saas-app
|
|
2
2
|
|
|
3
|
-
Create
|
|
3
|
+
**Create production-ready SaaS applications with AI capabilities in seconds.** This CLI tool generates modern web applications with authentication, payments, AI integration, and AI-powered development workflows.
|
|
4
|
+
|
|
5
|
+
[](https://badge.fury.io/js/%40digilogiclabs%2Fcreate-saas-app)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
7
|
|
|
5
8
|
## 🚀 Quick Start
|
|
6
9
|
|
|
7
10
|
```bash
|
|
8
|
-
# Create
|
|
9
|
-
npx @digilogiclabs/create-saas-app create web
|
|
11
|
+
# Create an AI-powered SaaS platform
|
|
12
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai my-ai-saas --with-ai=all
|
|
10
13
|
|
|
11
|
-
# Create an audio streaming
|
|
12
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio
|
|
14
|
+
# Create an audio streaming platform
|
|
15
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform
|
|
13
16
|
|
|
14
|
-
# Create a
|
|
15
|
-
npx @digilogiclabs/create-saas-app create
|
|
17
|
+
# Create a video generation platform
|
|
18
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio
|
|
16
19
|
|
|
17
|
-
# Create
|
|
18
|
-
npx @digilogiclabs/create-saas-app create
|
|
20
|
+
# Create a simple authentication app
|
|
21
|
+
npx @digilogiclabs/create-saas-app create web ui-auth simple-app
|
|
19
22
|
```
|
|
20
23
|
|
|
21
|
-
##
|
|
24
|
+
## ⚡ What You Get
|
|
22
25
|
|
|
23
|
-
###
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
### 🤖 **AI-First Development**
|
|
27
|
+
- **Claude CLI integration** - AI assistant configured for your specific template
|
|
28
|
+
- **Template-aware context** - AI understands your packages and architecture
|
|
29
|
+
- **Auto-generated documentation** - Context files and development guides
|
|
30
|
+
- **AI-powered components** - Text, audio, and video generation ready to use
|
|
27
31
|
|
|
28
|
-
###
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
### 🏗️ **Production-Ready Stack**
|
|
33
|
+
- **Next.js 15.3** with App Router and Server Components
|
|
34
|
+
- **TypeScript** throughout with strict typing
|
|
35
|
+
- **Supabase** for database, auth, and real-time features
|
|
36
|
+
- **Stripe** for payments and subscriptions
|
|
37
|
+
- **Tailwind CSS v4** with glassmorphism design system
|
|
33
38
|
|
|
34
|
-
|
|
39
|
+
### 🎯 **Developer Experience**
|
|
40
|
+
- **Setup guides** with copy-paste configurations
|
|
41
|
+
- **Deployment guides** for Vercel, Netlify, Railway, and Docker
|
|
42
|
+
- **Environment validation** and troubleshooting
|
|
43
|
+
- **Package documentation** and code examples
|
|
35
44
|
|
|
36
|
-
|
|
37
|
-
- 🎯 **Platform Flexibility**: Web (Next.js), Mobile (Expo), or both
|
|
38
|
-
- 🔧 **Smart Configuration**: Auto-configures auth, database, and themes
|
|
39
|
-
- 📦 **Package Integration**: Pre-configured with Digi Logic Labs packages
|
|
40
|
-
- 🎨 **Multiple Themes**: Corporate, startup, or default styling
|
|
41
|
-
- 🎵 **Media Support**: Audio and video streaming templates
|
|
42
|
-
- 🔐 **Auth Ready**: Firebase or Supabase authentication
|
|
43
|
-
- 📊 **Database Ready**: Supabase or Firebase database setup
|
|
44
|
-
- 🚀 **Deploy Ready**: Vercel, Netlify, and Expo deployment configs
|
|
45
|
-
- 📱 **Responsive Design**: Mobile-first approach for web apps
|
|
46
|
-
- 🌙 **Dark Mode**: Built-in theme switching
|
|
47
|
-
- 📦 **TypeScript**: Type-safe development
|
|
48
|
-
- 🎯 **ESLint & Prettier**: Code quality tools
|
|
45
|
+
## 🎨 Template Gallery
|
|
49
46
|
|
|
50
|
-
|
|
47
|
+
### 🤖 **AI-Powered Templates**
|
|
51
48
|
|
|
52
|
-
|
|
49
|
+
#### **Full-Stack AI Platform** (`ui-auth-payments-ai`)
|
|
50
|
+
Complete AI platform with text, audio, and video generation
|
|
51
|
+
- **Multi-modal AI** - OpenAI, ElevenLabs, Replicate integration
|
|
52
|
+
- **AI Dashboard** - Generation history and usage analytics
|
|
53
|
+
- **Smart UI** - Tabbed interface for different AI tools
|
|
54
|
+
- **Real-time features** - Live generation status and updates
|
|
53
55
|
|
|
54
|
-
#### **Base Template**
|
|
55
|
-
Clean Next.js starter with authentication and UI components
|
|
56
56
|
```bash
|
|
57
|
-
npx @digilogiclabs/create-saas-app create web
|
|
57
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
#### **
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
#### **Audio Platform** (`ui-auth-payments-audio`)
|
|
61
|
+
Professional audio streaming and generation platform
|
|
62
|
+
- **Audio streaming** - Playlist management and playback
|
|
63
|
+
- **Audio generation** - AI-powered voice synthesis
|
|
64
|
+
- **Waveform visualization** - Real-time audio analysis
|
|
65
|
+
- **Offline support** - Cached playback and PWA features
|
|
65
66
|
|
|
66
|
-
#### **SaaS Template**
|
|
67
|
-
Multi-tenant SaaS application with billing and teams
|
|
68
67
|
```bash
|
|
69
|
-
npx @digilogiclabs/create-saas-app create web
|
|
68
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-app
|
|
70
69
|
```
|
|
71
70
|
|
|
72
|
-
#### **
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
#### **Video Platform** (`ui-auth-payments-video`)
|
|
72
|
+
Video streaming and generation platform
|
|
73
|
+
- **Video streaming** - Quality selection and adaptive bitrate
|
|
74
|
+
- **Video generation** - AI-powered video creation
|
|
75
|
+
- **Content management** - Upload, process, and organize videos
|
|
76
|
+
- **Analytics dashboard** - View counts and engagement metrics
|
|
77
77
|
|
|
78
|
-
#### **Video Player Template**
|
|
79
|
-
Full SaaS application with video streaming features and quality selection
|
|
80
78
|
```bash
|
|
81
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video
|
|
79
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-platform
|
|
82
80
|
```
|
|
83
81
|
|
|
84
|
-
###
|
|
85
|
-
```
|
|
86
|
-
my-web-app/
|
|
87
|
-
├── src/
|
|
88
|
-
│ ├── app/ # Next.js App Router
|
|
89
|
-
│ │ ├── globals.css # Global styles with Tailwind
|
|
90
|
-
│ │ ├── layout.tsx # Root layout with providers
|
|
91
|
-
│ │ └── page.tsx # Home page component
|
|
92
|
-
│ ├── components/ # Reusable React components
|
|
93
|
-
│ │ ├── auth/ # Authentication components
|
|
94
|
-
│ │ ├── layout/ # Layout components (header, footer)
|
|
95
|
-
│ │ ├── ui/ # UI components (buttons, cards, etc.)
|
|
96
|
-
│ │ └── providers/ # Context providers
|
|
97
|
-
│ ├── lib/ # Utility libraries
|
|
98
|
-
│ │ └── utils.ts # Helper functions
|
|
99
|
-
│ ├── hooks/ # Custom React hooks
|
|
100
|
-
│ └── types/ # TypeScript type definitions
|
|
101
|
-
├── public/ # Static assets
|
|
102
|
-
├── .env.example # Environment variables template
|
|
103
|
-
├── tailwind.config.js # Tailwind CSS configuration
|
|
104
|
-
├── next.config.js # Next.js configuration
|
|
105
|
-
└── package.json # Dependencies and scripts
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### Getting Started with Web Apps
|
|
82
|
+
### 🏢 **Business Templates**
|
|
109
83
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
84
|
+
#### **SaaS with Payments** (`ui-auth-payments`)
|
|
85
|
+
Complete SaaS platform with billing
|
|
86
|
+
- **Subscription management** - Stripe integration with webhooks
|
|
87
|
+
- **User dashboards** - Account management and billing portal
|
|
88
|
+
- **Team features** - Multi-user support and permissions
|
|
89
|
+
- **Analytics** - Revenue and usage tracking
|
|
115
90
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
# Edit .env.local with your configuration
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
3. **Start development server**:
|
|
123
|
-
```bash
|
|
124
|
-
npm run dev
|
|
125
|
-
```
|
|
91
|
+
```bash
|
|
92
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments saas-platform
|
|
93
|
+
```
|
|
126
94
|
|
|
127
|
-
|
|
95
|
+
#### **Authentication App** (`ui-auth`)
|
|
96
|
+
Simple auth-enabled application
|
|
97
|
+
- **User management** - Sign up, login, profile management
|
|
98
|
+
- **Protected routes** - Authentication-gated content
|
|
99
|
+
- **Social logins** - Google, GitHub, and more
|
|
100
|
+
- **Email verification** - Secure account activation
|
|
128
101
|
|
|
129
|
-
### Web Environment Variables
|
|
130
102
|
```bash
|
|
131
|
-
|
|
132
|
-
NEXT_PUBLIC_APP_NAME=my-web-app
|
|
133
|
-
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
134
|
-
|
|
135
|
-
# Firebase (if selected)
|
|
136
|
-
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
|
|
137
|
-
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
|
|
138
|
-
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
|
|
139
|
-
|
|
140
|
-
# Supabase (if selected)
|
|
141
|
-
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
|
|
142
|
-
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
|
|
103
|
+
npx @digilogiclabs/create-saas-app create web ui-auth auth-app
|
|
143
104
|
```
|
|
144
105
|
|
|
145
|
-
##
|
|
106
|
+
## 🤖 AI Development Workflow
|
|
146
107
|
|
|
147
|
-
|
|
108
|
+
Every template includes **Claude AI integration** for enhanced development:
|
|
148
109
|
|
|
149
|
-
|
|
150
|
-
Simple Expo app with navigation and authentication
|
|
110
|
+
### 🎯 **Instant AI Setup**
|
|
151
111
|
```bash
|
|
152
|
-
|
|
153
|
-
|
|
112
|
+
# Create your app
|
|
113
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai my-app --with-ai=all
|
|
154
114
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
```bash
|
|
158
|
-
npx @digilogiclabs/create-saas-app create mobile tabs my-tabs-app
|
|
159
|
-
```
|
|
115
|
+
# Navigate to setup
|
|
116
|
+
cd my-app && open http://localhost:3000/dev-setup
|
|
160
117
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
```bash
|
|
164
|
-
npx @digilogiclabs/create-saas-app create mobile stack my-stack-app
|
|
165
|
-
```
|
|
118
|
+
# Copy .claude configuration (auto-generated)
|
|
119
|
+
# Copy context.md documentation (auto-generated)
|
|
166
120
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
│ ├── navigation/ # React Navigation setup
|
|
172
|
-
│ ├── screens/ # Screen components
|
|
173
|
-
│ │ ├── auth/ # Authentication screens
|
|
174
|
-
│ │ └── main/ # Main app screens
|
|
175
|
-
│ ├── components/ # Reusable components
|
|
176
|
-
│ │ ├── auth/ # Auth-related components
|
|
177
|
-
│ │ ├── layout/ # Layout components
|
|
178
|
-
│ │ └── ui/ # UI components
|
|
179
|
-
│ ├── providers/ # Context providers
|
|
180
|
-
│ ├── hooks/ # Custom hooks
|
|
181
|
-
│ ├── services/ # API and external services
|
|
182
|
-
│ ├── utils/ # Utility functions
|
|
183
|
-
│ └── types/ # TypeScript definitions
|
|
184
|
-
├── assets/ # Images, icons, fonts
|
|
185
|
-
├── App.tsx # Root component
|
|
186
|
-
├── app.json # Expo configuration
|
|
187
|
-
└── package.json # Dependencies and scripts
|
|
121
|
+
# Start coding with AI assistance
|
|
122
|
+
claude "Help me add a new AI feature"
|
|
123
|
+
claude "Create a user profile component"
|
|
124
|
+
claude "Debug this authentication error"
|
|
188
125
|
```
|
|
189
126
|
|
|
190
|
-
###
|
|
127
|
+
### 📚 **Smart AI Context**
|
|
128
|
+
Each template generates intelligent context for Claude:
|
|
129
|
+
- **Package integration guides** - How to use each Digi Logic Labs package
|
|
130
|
+
- **Architecture documentation** - Next.js patterns and best practices
|
|
131
|
+
- **Code examples** - Common patterns for auth, payments, AI
|
|
132
|
+
- **Environment setup** - Configuration and troubleshooting
|
|
191
133
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
```
|
|
134
|
+
### ⚡ **AI-Powered Components**
|
|
135
|
+
Templates with `--with-ai` include:
|
|
136
|
+
```typescript
|
|
137
|
+
import { AIProvider, AITextGenerator, AIChat } from '@digilogiclabs/saas-factory-ai'
|
|
197
138
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
139
|
+
// Text generation
|
|
140
|
+
<AITextGenerator
|
|
141
|
+
placeholder="Generate blog content..."
|
|
142
|
+
templates={['Blog post', 'Email', 'Social media']}
|
|
143
|
+
/>
|
|
202
144
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
145
|
+
// AI chat interface
|
|
146
|
+
<AIChat
|
|
147
|
+
placeholder="Ask me anything..."
|
|
148
|
+
showTypingIndicator={true}
|
|
149
|
+
enableFileUpload={true}
|
|
150
|
+
/>
|
|
209
151
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
152
|
+
// Audio generation
|
|
153
|
+
<AIAudioGenerator
|
|
154
|
+
placeholder="Describe the audio..."
|
|
155
|
+
supportedFormats={['mp3', 'wav']}
|
|
156
|
+
showWaveform={true}
|
|
157
|
+
/>
|
|
158
|
+
```
|
|
214
159
|
|
|
215
|
-
|
|
160
|
+
## 🚀 Deployment Made Simple
|
|
216
161
|
|
|
217
|
-
|
|
218
|
-
- **Expo CLI**: `npm install -g @expo/cli`
|
|
219
|
-
- **iOS Development**: Xcode (macOS only)
|
|
220
|
-
- **Android Development**: Android Studio
|
|
221
|
-
- **Physical Device**: Expo Go app for testing
|
|
162
|
+
Every template includes **comprehensive deployment guides**:
|
|
222
163
|
|
|
223
|
-
|
|
164
|
+
### 📋 **Multiple Hosting Options**
|
|
224
165
|
|
|
225
|
-
|
|
166
|
+
#### **Vercel (Recommended)**
|
|
226
167
|
```bash
|
|
227
|
-
|
|
168
|
+
# One-command deployment
|
|
169
|
+
vercel --prod
|
|
170
|
+
|
|
171
|
+
# Automatic HTTPS, edge functions, preview deployments
|
|
228
172
|
```
|
|
229
|
-
The CLI will guide you through project configuration with interactive prompts.
|
|
230
173
|
|
|
231
|
-
|
|
174
|
+
#### **Netlify**
|
|
232
175
|
```bash
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
Arguments:
|
|
236
|
-
platform Platform: web, mobile, or both
|
|
237
|
-
template Template type (optional)
|
|
238
|
-
name Project name (optional)
|
|
239
|
-
|
|
240
|
-
Options:
|
|
241
|
-
-a, --auth <provider> Auth provider: firebase, supabase
|
|
242
|
-
-d, --database <provider> Database provider: supabase, firebase
|
|
243
|
-
-t, --theme <theme> Theme: default, corporate, startup
|
|
244
|
-
--no-install Skip package installation
|
|
245
|
-
--no-git Skip git initialization
|
|
246
|
-
-y, --yes Skip interactive prompts
|
|
247
|
-
-h, --help Display help for command
|
|
176
|
+
# Git-based deployment with form handling
|
|
177
|
+
npm run build && netlify deploy --prod
|
|
248
178
|
```
|
|
249
179
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
#### Web Applications
|
|
180
|
+
#### **Railway**
|
|
253
181
|
```bash
|
|
254
|
-
#
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
# SaaS app with Supabase and corporate theme
|
|
258
|
-
npx @digilogiclabs/create-saas-app create web saas my-startup \
|
|
259
|
-
--auth=supabase --database=supabase --theme=corporate
|
|
260
|
-
|
|
261
|
-
# Dashboard with Firebase auth
|
|
262
|
-
npx @digilogiclabs/create-saas-app create web dashboard admin-panel \
|
|
263
|
-
--auth=firebase --database=firebase
|
|
264
|
-
|
|
265
|
-
# Audio streaming app with Supabase
|
|
266
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio my-music-app \
|
|
267
|
-
--auth=supabase --database=supabase
|
|
268
|
-
|
|
269
|
-
# Video streaming app with Firebase
|
|
270
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video my-streaming-app \
|
|
271
|
-
--auth=firebase --database=firebase
|
|
272
|
-
|
|
273
|
-
# Skip installation and git init
|
|
274
|
-
npx @digilogiclabs/create-saas-app create web base my-app \
|
|
275
|
-
--no-install --no-git
|
|
182
|
+
# Full-stack with integrated database
|
|
183
|
+
railway init && railway up
|
|
276
184
|
```
|
|
277
185
|
|
|
278
|
-
####
|
|
186
|
+
#### **Docker + Cloud Run**
|
|
279
187
|
```bash
|
|
280
|
-
#
|
|
281
|
-
|
|
188
|
+
# Containerized deployment with auto-scaling
|
|
189
|
+
gcloud run deploy --source .
|
|
190
|
+
```
|
|
282
191
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
192
|
+
### ✅ **Pre-Deployment Checklist**
|
|
193
|
+
Built-in validation ensures your app is deployment-ready:
|
|
194
|
+
- ✅ Environment variables configured
|
|
195
|
+
- ✅ Database tables created and RLS enabled
|
|
196
|
+
- ✅ Stripe webhooks configured (if using payments)
|
|
197
|
+
- ✅ Build succeeds locally
|
|
198
|
+
- ✅ Tests pass
|
|
286
199
|
|
|
287
|
-
|
|
288
|
-
npx @digilogiclabs/create-saas-app create mobile stack my-stack-app \
|
|
289
|
-
--auth=supabase --database=supabase
|
|
290
|
-
```
|
|
200
|
+
## 🎛️ Advanced Configuration
|
|
291
201
|
|
|
292
|
-
|
|
202
|
+
### 🤖 **AI Capabilities**
|
|
293
203
|
```bash
|
|
294
|
-
#
|
|
295
|
-
|
|
204
|
+
# Enable specific AI capabilities
|
|
205
|
+
--with-ai=text # Text generation only
|
|
206
|
+
--with-ai=audio # Audio generation only
|
|
207
|
+
--with-ai=video # Video generation only
|
|
208
|
+
--with-ai=text,audio # Text and audio
|
|
209
|
+
--with-ai=all # All AI capabilities
|
|
296
210
|
|
|
297
|
-
#
|
|
298
|
-
|
|
299
|
-
|
|
211
|
+
# Specify AI provider
|
|
212
|
+
--ai-provider=openai # OpenAI (default)
|
|
213
|
+
--ai-provider=anthropic # Anthropic Claude
|
|
214
|
+
--ai-provider=gemini # Google Gemini
|
|
300
215
|
```
|
|
301
216
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
### Default Theme
|
|
305
|
-
Clean and modern design with neutral colors
|
|
217
|
+
### 🎨 **Theming & Styling**
|
|
306
218
|
```bash
|
|
307
|
-
|
|
308
|
-
|
|
219
|
+
# Theme options
|
|
220
|
+
--theme=default # Clean and modern
|
|
221
|
+
--theme=corporate # Professional blue
|
|
222
|
+
--theme=startup # Bold purple
|
|
309
223
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
--theme=
|
|
224
|
+
# Theme colors
|
|
225
|
+
--theme-color=blue # Blue accents (default)
|
|
226
|
+
--theme-color=purple # Purple accents
|
|
227
|
+
--theme-color=green # Green accents
|
|
228
|
+
|
|
229
|
+
# Default theme mode
|
|
230
|
+
--default-theme=system # Follow system (default)
|
|
231
|
+
--default-theme=light # Always light
|
|
232
|
+
--default-theme=dark # Always dark
|
|
314
233
|
```
|
|
315
234
|
|
|
316
|
-
###
|
|
317
|
-
Bold and innovative design with purple accents
|
|
235
|
+
### 🔐 **Service Providers**
|
|
318
236
|
```bash
|
|
319
|
-
|
|
237
|
+
# Authentication
|
|
238
|
+
--auth=supabase # Supabase Auth (default)
|
|
239
|
+
--auth=firebase # Firebase Auth
|
|
240
|
+
|
|
241
|
+
# Database
|
|
242
|
+
--database=supabase # Supabase (default)
|
|
243
|
+
--database=firebase # Firebase Firestore
|
|
320
244
|
```
|
|
321
245
|
|
|
322
|
-
##
|
|
246
|
+
## 📦 Package Ecosystem
|
|
323
247
|
|
|
324
|
-
###
|
|
248
|
+
### 🎨 **UI & Design**
|
|
249
|
+
- **@digilogiclabs/saas-factory-ui** - Modern components with glassmorphism
|
|
250
|
+
- **Next.js 15.3** - App Router with Server Components
|
|
251
|
+
- **Tailwind CSS v4** - Design tokens and utility classes
|
|
252
|
+
- **Responsive design** - Mobile-first with PWA support
|
|
325
253
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
|
|
332
|
-
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
|
|
333
|
-
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
|
|
334
|
-
```
|
|
254
|
+
### 🔐 **Authentication**
|
|
255
|
+
- **@digilogiclabs/saas-factory-auth** - Supabase Auth integration
|
|
256
|
+
- **Row Level Security** - Database-level permissions
|
|
257
|
+
- **Social logins** - Google, GitHub, and more
|
|
258
|
+
- **Email verification** - Secure account management
|
|
335
259
|
|
|
336
|
-
###
|
|
260
|
+
### 💳 **Payments**
|
|
261
|
+
- **@digilogiclabs/saas-factory-payments** - Stripe integration
|
|
262
|
+
- **Subscription management** - Recurring billing and invoices
|
|
263
|
+
- **Webhook handling** - Secure payment event processing
|
|
264
|
+
- **Customer portal** - Self-service billing management
|
|
337
265
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
```
|
|
266
|
+
### 🤖 **AI Platform**
|
|
267
|
+
- **@digilogiclabs/saas-factory-ai** - Multi-modal AI components
|
|
268
|
+
- **@digilogiclabs/saas-factory-ai-types** - TypeScript definitions
|
|
269
|
+
- **OpenAI integration** - GPT-4 for text and audio
|
|
270
|
+
- **ElevenLabs integration** - High-quality voice synthesis
|
|
271
|
+
- **Replicate integration** - Video and image generation
|
|
345
272
|
|
|
346
|
-
##
|
|
273
|
+
## 🛠️ Command Reference
|
|
347
274
|
|
|
348
|
-
###
|
|
275
|
+
### 📋 **Create Command**
|
|
276
|
+
```bash
|
|
277
|
+
npx @digilogiclabs/create-saas-app create <platform> [template] [name] [options]
|
|
349
278
|
|
|
350
|
-
|
|
279
|
+
# Arguments
|
|
280
|
+
platform # web, mobile, or both
|
|
281
|
+
template # ui-auth-payments-ai, ui-auth-payments, ui-auth, etc.
|
|
282
|
+
name # your-project-name
|
|
283
|
+
|
|
284
|
+
# Options
|
|
285
|
+
-a, --auth <provider> # firebase, supabase
|
|
286
|
+
-d, --database <provider> # supabase, firebase
|
|
287
|
+
-t, --theme <theme> # default, corporate, startup
|
|
288
|
+
-c, --theme-color <color> # blue, green, purple, orange, red, slate
|
|
289
|
+
--default-theme <mode> # light, dark, system
|
|
290
|
+
--with-ai [capabilities] # text,audio,video or all
|
|
291
|
+
--ai-provider <provider> # openai, anthropic, gemini
|
|
292
|
+
--no-install # Skip package installation
|
|
293
|
+
--no-git # Skip git initialization
|
|
294
|
+
-y, --yes # Skip interactive prompts
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### ➕ **Add Features** (Coming Soon)
|
|
351
298
|
```bash
|
|
352
|
-
|
|
353
|
-
|
|
299
|
+
# Add features to existing projects
|
|
300
|
+
npx @digilogiclabs/create-saas-app add billing --provider=stripe
|
|
301
|
+
npx @digilogiclabs/create-saas-app add analytics --provider=mixpanel
|
|
302
|
+
npx @digilogiclabs/create-saas-app add ai --capabilities=text,audio
|
|
354
303
|
```
|
|
355
304
|
|
|
356
|
-
|
|
305
|
+
### 🔄 **Update Command** (Coming Soon)
|
|
357
306
|
```bash
|
|
358
|
-
|
|
359
|
-
|
|
307
|
+
# Check for package updates
|
|
308
|
+
npx @digilogiclabs/create-saas-app update --check
|
|
309
|
+
|
|
310
|
+
# Update all Digi Logic Labs packages
|
|
311
|
+
npx @digilogiclabs/create-saas-app update
|
|
360
312
|
```
|
|
361
313
|
|
|
362
|
-
|
|
314
|
+
## 🌟 Examples
|
|
363
315
|
|
|
364
|
-
|
|
316
|
+
### 🤖 **AI-Powered SaaS**
|
|
365
317
|
```bash
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
318
|
+
# Full AI platform with all capabilities
|
|
319
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai \
|
|
320
|
+
my-ai-platform \
|
|
321
|
+
--with-ai=all \
|
|
322
|
+
--ai-provider=openai \
|
|
323
|
+
--theme=startup \
|
|
324
|
+
--theme-color=purple
|
|
369
325
|
```
|
|
370
326
|
|
|
371
|
-
|
|
327
|
+
### 🎵 **Music Streaming Platform**
|
|
372
328
|
```bash
|
|
373
|
-
#
|
|
374
|
-
npx
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
329
|
+
# Audio platform with Supabase and corporate theme
|
|
330
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio \
|
|
331
|
+
music-streaming \
|
|
332
|
+
--auth=supabase \
|
|
333
|
+
--database=supabase \
|
|
334
|
+
--theme=corporate \
|
|
335
|
+
--theme-color=blue
|
|
378
336
|
```
|
|
379
337
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
Add features to existing projects:
|
|
383
|
-
|
|
338
|
+
### 🎬 **Video Creation Studio**
|
|
384
339
|
```bash
|
|
385
|
-
#
|
|
386
|
-
npx @digilogiclabs/create-saas-app
|
|
340
|
+
# Video platform with AI generation capabilities
|
|
341
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video \
|
|
342
|
+
video-studio \
|
|
343
|
+
--with-ai=video \
|
|
344
|
+
--ai-provider=replicate \
|
|
345
|
+
--theme=startup \
|
|
346
|
+
--default-theme=dark
|
|
347
|
+
```
|
|
387
348
|
|
|
388
|
-
|
|
389
|
-
npx @digilogiclabs/create-saas-app add analytics --provider=mixpanel
|
|
349
|
+
## 📚 Getting Started Guide
|
|
390
350
|
|
|
391
|
-
|
|
392
|
-
|
|
351
|
+
### 1. **Create Your App**
|
|
352
|
+
```bash
|
|
353
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai my-saas --with-ai=all
|
|
354
|
+
cd my-saas
|
|
393
355
|
```
|
|
394
356
|
|
|
395
|
-
|
|
357
|
+
### 2. **Follow Setup Guide**
|
|
358
|
+
```bash
|
|
359
|
+
npm run dev
|
|
360
|
+
# Open http://localhost:3000/setup
|
|
361
|
+
# Configure Supabase, Stripe, and AI providers
|
|
362
|
+
```
|
|
396
363
|
|
|
397
|
-
|
|
364
|
+
### 3. **Set Up Development Workflow**
|
|
365
|
+
```bash
|
|
366
|
+
# Visit http://localhost:3000/dev-setup
|
|
367
|
+
# Copy .claude configuration
|
|
368
|
+
# Copy context.md documentation
|
|
369
|
+
# Install Claude CLI: npm install -g @anthropic-ai/claude-cli
|
|
370
|
+
```
|
|
398
371
|
|
|
372
|
+
### 4. **Start Building with AI**
|
|
399
373
|
```bash
|
|
400
|
-
|
|
401
|
-
|
|
374
|
+
claude "Help me add a user profile page"
|
|
375
|
+
claude "Create a subscription management component"
|
|
376
|
+
claude "Add error handling to the payment flow"
|
|
377
|
+
```
|
|
402
378
|
|
|
403
|
-
|
|
404
|
-
|
|
379
|
+
### 5. **Deploy to Production**
|
|
380
|
+
```bash
|
|
381
|
+
# Follow deployment guide at /dev-setup
|
|
382
|
+
vercel --prod # One-command deployment
|
|
405
383
|
```
|
|
406
384
|
|
|
407
|
-
##
|
|
385
|
+
## 🔧 Development
|
|
408
386
|
|
|
409
|
-
|
|
387
|
+
### 📋 **Requirements**
|
|
388
|
+
- **Node.js**: 18.0.0 or higher
|
|
410
389
|
- **Package Manager**: npm, yarn, or pnpm
|
|
411
390
|
- **Git**: For repository initialization
|
|
412
|
-
- **Expo CLI**: For mobile development (`npm install -g @expo/cli`)
|
|
413
|
-
|
|
414
|
-
## 🤝 Contributing
|
|
415
|
-
|
|
416
|
-
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
|
|
417
391
|
|
|
418
|
-
### Development
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
cd create-saas-app
|
|
424
|
-
```
|
|
425
|
-
|
|
426
|
-
2. **Install dependencies**:
|
|
427
|
-
```bash
|
|
428
|
-
npm install
|
|
429
|
-
```
|
|
430
|
-
|
|
431
|
-
3. **Build the CLI**:
|
|
432
|
-
```bash
|
|
433
|
-
npm run build
|
|
434
|
-
```
|
|
392
|
+
### 🛠️ **Local Development**
|
|
393
|
+
```bash
|
|
394
|
+
# Clone repository
|
|
395
|
+
git clone https://github.com/DigiLogicLabs/create-saas-app.git
|
|
396
|
+
cd create-saas-app
|
|
435
397
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
node bin/index.js create web base test-app
|
|
439
|
-
```
|
|
398
|
+
# Install dependencies
|
|
399
|
+
npm install
|
|
440
400
|
|
|
441
|
-
|
|
401
|
+
# Build CLI
|
|
402
|
+
npm run build
|
|
442
403
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
- [Authentication Setup](./docs/auth-setup.md)
|
|
447
|
-
- [Theming Guide](./docs/theming.md)
|
|
448
|
-
- [Deployment Guide](./docs/deployment.md)
|
|
404
|
+
# Test locally
|
|
405
|
+
node bin/index.js create web ui-auth-payments-ai test-app --with-ai=all
|
|
406
|
+
```
|
|
449
407
|
|
|
450
408
|
## 🐛 Troubleshooting
|
|
451
409
|
|
|
452
|
-
### Common Issues
|
|
410
|
+
### ❓ **Common Issues**
|
|
453
411
|
|
|
454
|
-
####
|
|
412
|
+
#### CLI Command Not Found
|
|
455
413
|
```bash
|
|
456
|
-
#
|
|
414
|
+
# Use npx (recommended)
|
|
457
415
|
npx @digilogiclabs/create-saas-app
|
|
458
416
|
|
|
459
417
|
# Or install globally
|
|
460
418
|
npm install -g @digilogiclabs/create-saas-app
|
|
461
419
|
```
|
|
462
420
|
|
|
463
|
-
#### Template
|
|
421
|
+
#### Template Generation Fails
|
|
464
422
|
```bash
|
|
465
|
-
# Check Node.js version
|
|
466
|
-
node --version
|
|
423
|
+
# Check Node.js version (18.0.0+ required)
|
|
424
|
+
node --version
|
|
467
425
|
|
|
468
426
|
# Clear npm cache
|
|
469
427
|
npm cache clean --force
|
|
428
|
+
|
|
429
|
+
# Try with --no-install flag
|
|
430
|
+
npx @digilogiclabs/create-saas-app create web ui-auth test-app --no-install
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
#### Environment Variables Issues
|
|
434
|
+
```bash
|
|
435
|
+
# Check setup guide in your app
|
|
436
|
+
open http://localhost:3000/setup
|
|
437
|
+
|
|
438
|
+
# Copy environment variables from setup page
|
|
439
|
+
# Verify all required services are configured
|
|
470
440
|
```
|
|
471
441
|
|
|
472
|
-
####
|
|
442
|
+
#### AI Integration Issues
|
|
473
443
|
```bash
|
|
474
|
-
#
|
|
475
|
-
|
|
444
|
+
# Verify AI API keys in .env.local
|
|
445
|
+
OPENAI_API_KEY=your_openai_key
|
|
446
|
+
ELEVENLABS_API_KEY=your_elevenlabs_key
|
|
447
|
+
REPLICATE_API_TOKEN=your_replicate_token
|
|
476
448
|
|
|
477
|
-
#
|
|
478
|
-
|
|
449
|
+
# Check AI setup guide
|
|
450
|
+
open http://localhost:3000/dev-setup
|
|
479
451
|
```
|
|
480
452
|
|
|
481
453
|
## 📄 License
|
|
482
454
|
|
|
483
|
-
MIT © Digi Logic Labs
|
|
455
|
+
MIT © [Digi Logic Labs](https://digilogiclabs.com)
|
|
484
456
|
|
|
485
|
-
## 🆘 Support
|
|
457
|
+
## 🆘 Support & Community
|
|
486
458
|
|
|
487
|
-
-
|
|
488
|
-
- 💬 **Discord**: [Join our community](https://discord.gg/digilogiclabs)
|
|
459
|
+
- 💬 **Discord**: [Join our community](https://discord.gg/digilogiclabs)
|
|
489
460
|
- 📖 **Documentation**: [docs.digilogiclabs.com](https://docs.digilogiclabs.com)
|
|
490
461
|
- 🐛 **Issues**: [GitHub Issues](https://github.com/DigiLogicLabs/create-saas-app/issues)
|
|
491
462
|
- 💡 **Feature Requests**: [GitHub Discussions](https://github.com/DigiLogicLabs/create-saas-app/discussions)
|
|
463
|
+
- 📧 **Email**: support@digilogiclabs.com
|
|
464
|
+
|
|
465
|
+
## 🚀 What's Next?
|
|
466
|
+
|
|
467
|
+
- 📱 **Mobile Templates** - React Native templates with AI capabilities
|
|
468
|
+
- 🔌 **Plugin System** - Extensible architecture for custom features
|
|
469
|
+
- 🤖 **More AI Providers** - Anthropic, Google, and custom model support
|
|
470
|
+
- 📊 **Analytics Integration** - Built-in analytics and monitoring
|
|
471
|
+
- 🌍 **Internationalization** - Multi-language support out of the box
|
|
492
472
|
|
|
493
473
|
---
|
|
494
474
|
|
|
495
|
-
**Built with ❤️ by Digi Logic Labs**
|
|
475
|
+
**Built with ❤️ by [Digi Logic Labs](https://digilogiclabs.com)**
|
|
496
476
|
|
|
477
|
+
*Creating the future of SaaS development, one template at a time.*
|