@digilogiclabs/create-saas-app 1.10.7 → 1.12.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.
Files changed (204) hide show
  1. package/README.md +331 -350
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/cli/commands/create.js +2 -2
  4. package/dist/cli/commands/create.js.map +1 -1
  5. package/dist/generators/template-generator.d.ts.map +1 -1
  6. package/dist/generators/template-generator.js +14 -2
  7. package/dist/generators/template-generator.js.map +1 -1
  8. package/dist/templates/web/ui-auth/template/.claude +21 -0
  9. package/dist/templates/web/ui-auth/template/context.md +105 -0
  10. package/dist/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +801 -0
  11. package/dist/templates/web/ui-auth/template/src/app/setup/page.tsx +403 -0
  12. package/dist/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +801 -0
  13. package/dist/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +507 -0
  14. package/dist/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +127 -32
  15. package/dist/templates/web/ui-auth-payments-ai/template/.claude +21 -0
  16. package/dist/templates/web/ui-auth-payments-ai/template/.env.example +15 -0
  17. package/dist/templates/web/ui-auth-payments-ai/template/README.md +207 -0
  18. package/dist/templates/web/ui-auth-payments-ai/template/context.md +169 -0
  19. package/dist/templates/web/ui-auth-payments-ai/template/middleware.ts +68 -0
  20. package/dist/templates/web/ui-auth-payments-ai/template/next.config.js +12 -0
  21. package/dist/templates/web/ui-auth-payments-ai/template/package-lock.json +12241 -0
  22. package/dist/templates/web/ui-auth-payments-ai/template/package.json +55 -0
  23. package/dist/templates/web/ui-auth-payments-ai/template/postcss.config.js +7 -0
  24. package/dist/templates/web/ui-auth-payments-ai/template/src/app/ai/page.tsx +310 -0
  25. package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/audio/route.ts +56 -0
  26. package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/chat/route.ts +49 -0
  27. package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/text/route.ts +64 -0
  28. package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/video/route.ts +73 -0
  29. package/dist/templates/web/ui-auth-payments-ai/template/src/app/auth/callback/route.ts +12 -0
  30. package/dist/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +211 -0
  31. package/dist/templates/web/ui-auth-payments-ai/template/src/app/checkout/page.tsx +142 -0
  32. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/layout.tsx +22 -0
  33. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +183 -0
  34. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +801 -0
  35. package/dist/templates/web/ui-auth-payments-ai/template/src/app/error.tsx +67 -0
  36. package/dist/templates/web/ui-auth-payments-ai/template/src/app/globals.css +43 -0
  37. package/dist/templates/web/ui-auth-payments-ai/template/src/app/layout.tsx +35 -0
  38. package/dist/templates/web/ui-auth-payments-ai/template/src/app/loading.tsx +20 -0
  39. package/dist/templates/web/ui-auth-payments-ai/template/src/app/login/page.tsx +6 -0
  40. package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +380 -0
  41. package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.backup +391 -0
  42. package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.bak +391 -0
  43. package/dist/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +640 -0
  44. package/dist/templates/web/ui-auth-payments-ai/template/src/app/signup/page.tsx +6 -0
  45. package/dist/templates/web/ui-auth-payments-ai/template/src/components/__tests__/example.test.tsx +49 -0
  46. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/auth-status.tsx +52 -0
  47. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +144 -0
  48. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +185 -0
  49. package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +36 -0
  50. package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/theme-provider.tsx +96 -0
  51. package/dist/templates/web/ui-auth-payments-ai/template/src/components/shared/footer.tsx +36 -0
  52. package/dist/templates/web/ui-auth-payments-ai/template/src/components/shared/header.tsx +246 -0
  53. package/dist/templates/web/ui-auth-payments-ai/template/src/components/ui/badge.tsx +36 -0
  54. package/dist/templates/web/ui-auth-payments-ai/template/src/components/ui/theme-toggle.tsx +34 -0
  55. package/dist/templates/web/ui-auth-payments-ai/template/src/lib/actions/auth.ts +246 -0
  56. package/dist/templates/web/ui-auth-payments-ai/template/src/lib/actions/index.ts +14 -0
  57. package/dist/templates/web/ui-auth-payments-ai/template/src/lib/auth-server.ts +177 -0
  58. package/dist/templates/web/ui-auth-payments-ai/template/src/lib/env.ts +49 -0
  59. package/dist/templates/web/ui-auth-payments-ai/template/src/lib/utils.ts +140 -0
  60. package/dist/templates/web/ui-auth-payments-ai/template/src/test/setup.ts +79 -0
  61. package/dist/templates/web/ui-auth-payments-ai/template/tailwind.config.js +77 -0
  62. package/dist/templates/web/ui-auth-payments-ai/template/tsconfig.json +33 -0
  63. package/dist/templates/web/ui-auth-payments-ai/template/tsconfig.tsbuildinfo +1 -0
  64. package/dist/templates/web/ui-auth-payments-ai/template/vitest.config.ts +17 -0
  65. package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +22 -20
  66. package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.backup +391 -0
  67. package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.bak +391 -0
  68. package/dist/templates/web/ui-auth-payments-audio/template/src/app/setup/page.tsx +345 -0
  69. package/dist/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +122 -37
  70. package/dist/templates/web/ui-auth-payments-video/template/src/app/setup/page.tsx +351 -0
  71. package/dist/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +122 -37
  72. package/package.json +1 -1
  73. package/src/templates/web/ui-auth/template/.claude +21 -0
  74. package/src/templates/web/ui-auth/template/context.md +105 -0
  75. package/src/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +801 -0
  76. package/src/templates/web/ui-auth/template/src/app/setup/page.tsx +403 -0
  77. package/src/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +801 -0
  78. package/src/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +507 -0
  79. package/src/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +127 -32
  80. package/src/templates/web/ui-auth-payments-ai/template/.claude +21 -0
  81. package/src/templates/web/ui-auth-payments-ai/template/.env.example +15 -0
  82. package/src/templates/web/ui-auth-payments-ai/template/README.md +207 -0
  83. package/src/templates/web/ui-auth-payments-ai/template/context.md +169 -0
  84. package/src/templates/web/ui-auth-payments-ai/template/middleware.ts +68 -0
  85. package/src/templates/web/ui-auth-payments-ai/template/next.config.js +12 -0
  86. package/src/templates/web/ui-auth-payments-ai/template/package-lock.json +12241 -0
  87. package/src/templates/web/ui-auth-payments-ai/template/package.json +55 -0
  88. package/src/templates/web/ui-auth-payments-ai/template/postcss.config.js +7 -0
  89. package/src/templates/web/ui-auth-payments-ai/template/src/app/ai/page.tsx +310 -0
  90. package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/audio/route.ts +56 -0
  91. package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/chat/route.ts +49 -0
  92. package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/text/route.ts +64 -0
  93. package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/video/route.ts +73 -0
  94. package/src/templates/web/ui-auth-payments-ai/template/src/app/auth/callback/route.ts +12 -0
  95. package/src/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +211 -0
  96. package/src/templates/web/ui-auth-payments-ai/template/src/app/checkout/page.tsx +142 -0
  97. package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/layout.tsx +22 -0
  98. package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +183 -0
  99. package/src/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +801 -0
  100. package/src/templates/web/ui-auth-payments-ai/template/src/app/error.tsx +67 -0
  101. package/src/templates/web/ui-auth-payments-ai/template/src/app/globals.css +43 -0
  102. package/src/templates/web/ui-auth-payments-ai/template/src/app/layout.tsx +35 -0
  103. package/src/templates/web/ui-auth-payments-ai/template/src/app/loading.tsx +20 -0
  104. package/src/templates/web/ui-auth-payments-ai/template/src/app/login/page.tsx +6 -0
  105. package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +380 -0
  106. package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.backup +391 -0
  107. package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.bak +391 -0
  108. package/src/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +640 -0
  109. package/src/templates/web/ui-auth-payments-ai/template/src/app/signup/page.tsx +6 -0
  110. package/src/templates/web/ui-auth-payments-ai/template/src/components/__tests__/example.test.tsx +49 -0
  111. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/auth-status.tsx +52 -0
  112. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +144 -0
  113. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +185 -0
  114. package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +36 -0
  115. package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/theme-provider.tsx +96 -0
  116. package/src/templates/web/ui-auth-payments-ai/template/src/components/shared/footer.tsx +36 -0
  117. package/src/templates/web/ui-auth-payments-ai/template/src/components/shared/header.tsx +246 -0
  118. package/src/templates/web/ui-auth-payments-ai/template/src/components/ui/badge.tsx +36 -0
  119. package/src/templates/web/ui-auth-payments-ai/template/src/components/ui/theme-toggle.tsx +34 -0
  120. package/src/templates/web/ui-auth-payments-ai/template/src/lib/actions/auth.ts +246 -0
  121. package/src/templates/web/ui-auth-payments-ai/template/src/lib/actions/index.ts +14 -0
  122. package/src/templates/web/ui-auth-payments-ai/template/src/lib/auth-server.ts +177 -0
  123. package/src/templates/web/ui-auth-payments-ai/template/src/lib/env.ts +49 -0
  124. package/src/templates/web/ui-auth-payments-ai/template/src/lib/utils.ts +140 -0
  125. package/src/templates/web/ui-auth-payments-ai/template/src/test/setup.ts +79 -0
  126. package/src/templates/web/ui-auth-payments-ai/template/tailwind.config.js +77 -0
  127. package/src/templates/web/ui-auth-payments-ai/template/tsconfig.json +33 -0
  128. package/src/templates/web/ui-auth-payments-ai/template/tsconfig.tsbuildinfo +1 -0
  129. package/src/templates/web/ui-auth-payments-ai/template/vitest.config.ts +17 -0
  130. package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +22 -20
  131. package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.backup +391 -0
  132. package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.bak +391 -0
  133. package/src/templates/web/ui-auth-payments-audio/template/src/app/setup/page.tsx +345 -0
  134. package/src/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +122 -37
  135. package/src/templates/web/ui-auth-payments-video/template/src/app/setup/page.tsx +351 -0
  136. package/src/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +122 -37
  137. package/dist/cli/commands/add.d.ts +0 -6
  138. package/dist/cli/commands/add.d.ts.map +0 -1
  139. package/dist/cli/commands/add.js +0 -39
  140. package/dist/cli/commands/add.js.map +0 -1
  141. package/dist/cli/commands/index.d.ts +0 -4
  142. package/dist/cli/commands/index.d.ts.map +0 -1
  143. package/dist/cli/commands/index.js +0 -20
  144. package/dist/cli/commands/index.js.map +0 -1
  145. package/dist/cli/commands/update.d.ts +0 -6
  146. package/dist/cli/commands/update.d.ts.map +0 -1
  147. package/dist/cli/commands/update.js +0 -68
  148. package/dist/cli/commands/update.js.map +0 -1
  149. package/dist/cli/index.d.ts +0 -4
  150. package/dist/cli/index.d.ts.map +0 -1
  151. package/dist/cli/index.js +0 -61
  152. package/dist/cli/index.js.map +0 -1
  153. package/dist/cli/prompts/index.d.ts +0 -2
  154. package/dist/cli/prompts/index.d.ts.map +0 -1
  155. package/dist/cli/prompts/index.js +0 -18
  156. package/dist/cli/prompts/index.js.map +0 -1
  157. package/dist/cli/prompts/project-setup.d.ts +0 -5
  158. package/dist/cli/prompts/project-setup.d.ts.map +0 -1
  159. package/dist/cli/prompts/project-setup.js +0 -251
  160. package/dist/cli/prompts/project-setup.js.map +0 -1
  161. package/dist/cli/utils/git.d.ts +0 -9
  162. package/dist/cli/utils/git.d.ts.map +0 -1
  163. package/dist/cli/utils/git.js +0 -77
  164. package/dist/cli/utils/git.js.map +0 -1
  165. package/dist/cli/utils/index.d.ts +0 -5
  166. package/dist/cli/utils/index.d.ts.map +0 -1
  167. package/dist/cli/utils/index.js +0 -21
  168. package/dist/cli/utils/index.js.map +0 -1
  169. package/dist/cli/utils/logger.d.ts +0 -16
  170. package/dist/cli/utils/logger.d.ts.map +0 -1
  171. package/dist/cli/utils/logger.js +0 -55
  172. package/dist/cli/utils/logger.js.map +0 -1
  173. package/dist/cli/utils/package-manager.d.ts +0 -8
  174. package/dist/cli/utils/package-manager.d.ts.map +0 -1
  175. package/dist/cli/utils/package-manager.js +0 -92
  176. package/dist/cli/utils/package-manager.js.map +0 -1
  177. package/dist/cli/utils/spinner.d.ts +0 -7
  178. package/dist/cli/utils/spinner.d.ts.map +0 -1
  179. package/dist/cli/utils/spinner.js +0 -48
  180. package/dist/cli/utils/spinner.js.map +0 -1
  181. package/dist/cli/validators/dependencies.d.ts +0 -15
  182. package/dist/cli/validators/dependencies.d.ts.map +0 -1
  183. package/dist/cli/validators/dependencies.js +0 -108
  184. package/dist/cli/validators/dependencies.js.map +0 -1
  185. package/dist/cli/validators/index.d.ts +0 -3
  186. package/dist/cli/validators/index.d.ts.map +0 -1
  187. package/dist/cli/validators/index.js +0 -19
  188. package/dist/cli/validators/index.js.map +0 -1
  189. package/dist/cli/validators/project-name.d.ts +0 -5
  190. package/dist/cli/validators/project-name.d.ts.map +0 -1
  191. package/dist/cli/validators/project-name.js +0 -151
  192. package/dist/cli/validators/project-name.js.map +0 -1
  193. package/dist/generators/file-processor.d.ts +0 -28
  194. package/dist/generators/file-processor.d.ts.map +0 -1
  195. package/dist/generators/file-processor.js +0 -224
  196. package/dist/generators/file-processor.js.map +0 -1
  197. package/dist/generators/index.d.ts +0 -4
  198. package/dist/generators/index.d.ts.map +0 -1
  199. package/dist/generators/index.js +0 -20
  200. package/dist/generators/index.js.map +0 -1
  201. package/dist/generators/package-installer.d.ts +0 -29
  202. package/dist/generators/package-installer.d.ts.map +0 -1
  203. package/dist/generators/package-installer.js +0 -167
  204. package/dist/generators/package-installer.js.map +0 -1
package/README.md CHANGED
@@ -1,496 +1,477 @@
1
1
  # @digilogiclabs/create-saas-app
2
2
 
3
- Create modern SaaS applications with Digi Logic Labs packages in seconds. This CLI tool generates production-ready web and mobile applications with authentication, theming, and best practices built-in.
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
+ [![npm version](https://badge.fury.io/js/%40digilogiclabs%2Fcreate-saas-app.svg)](https://badge.fury.io/js/%40digilogiclabs%2Fcreate-saas-app)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
7
 
5
8
  ## 🚀 Quick Start
6
9
 
7
10
  ```bash
8
- # Create a web SaaS application
9
- npx @digilogiclabs/create-saas-app create web saas my-startup
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 app
12
- npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio my-music-app
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 mobile app with tab navigation
15
- npx @digilogiclabs/create-saas-app create mobile tabs my-mobile-app
17
+ # Create a video generation platform
18
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio
16
19
 
17
- # Create both web and mobile apps
18
- npx @digilogiclabs/create-saas-app create both base my-full-stack-app
20
+ # Create a simple authentication app
21
+ npx @digilogiclabs/create-saas-app create web ui-auth simple-app
19
22
  ```
20
23
 
21
- ## 📦 Installation
24
+ ## What You Get
22
25
 
23
- ### Using npx (Recommended)
24
- ```bash
25
- npx @digilogiclabs/create-saas-app
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
- ### Global Installation
29
- ```bash
30
- npm install -g @digilogiclabs/create-saas-app
31
- create-saas-app --help
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
- ## 🎯 Features
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
- - 🚀 **Rapid Development**: From idea to running app in under 5 minutes
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
- ## 🌐 Web Applications
47
+ ### 🤖 **AI-Powered Templates**
51
48
 
52
- ### Available Web Templates
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 base my-web-app
57
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all
58
58
  ```
59
59
 
60
- #### **Dashboard Template**
61
- Admin dashboard with analytics and user management
62
- ```bash
63
- npx @digilogiclabs/create-saas-app create web dashboard admin-panel
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 saas my-saas-platform
68
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-app
70
69
  ```
71
70
 
72
- #### **Audio Player Template**
73
- Full SaaS application with audio streaming features and playlist support
74
- ```bash
75
- npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio my-audio-app
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 my-video-app
79
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-platform
82
80
  ```
83
81
 
84
- ### Web Project Structure
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
- 1. **Create your project**:
111
- ```bash
112
- npx @digilogiclabs/create-saas-app create web base my-web-app
113
- cd my-web-app
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
- 2. **Configure environment variables**:
117
- ```bash
118
- cp .env.example .env.local
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
- 4. **Open in browser**: http://localhost:3000
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
- # App Configuration
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
- ## 📱 Mobile Applications
106
+ ## 🤖 AI Development Workflow
146
107
 
147
- ### Available Mobile Templates
108
+ Every template includes **Claude AI integration** for enhanced development:
148
109
 
149
- #### **Base Template**
150
- Simple Expo app with navigation and authentication
110
+ ### 🎯 **Instant AI Setup**
151
111
  ```bash
152
- npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
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
- #### **Tabs Template**
156
- Tab-based navigation structure
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
- #### **Stack Template**
162
- Stack-based navigation structure
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
- ### Mobile Project Structure
168
- ```
169
- my-mobile-app/
170
- ├── src/
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
- ### Getting Started with Mobile Apps
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
- 1. **Create your project**:
193
- ```bash
194
- npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
195
- cd my-mobile-app
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
- 2. **Install dependencies**:
199
- ```bash
200
- npm install
201
- ```
139
+ // Text generation
140
+ <AITextGenerator
141
+ placeholder="Generate blog content..."
142
+ templates={['Blog post', 'Email', 'Social media']}
143
+ />
202
144
 
203
- 3. **Start Expo development server**:
204
- ```bash
205
- npm start
206
- # or
207
- npx expo start
208
- ```
145
+ // AI chat interface
146
+ <AIChat
147
+ placeholder="Ask me anything..."
148
+ showTypingIndicator={true}
149
+ enableFileUpload={true}
150
+ />
209
151
 
210
- 4. **Run on device/simulator**:
211
- - **iOS**: `npm run ios` or scan QR code with Camera app
212
- - **Android**: `npm run android` or scan QR code with Expo Go app
213
- - **Web**: `npm run web`
152
+ // Audio generation
153
+ <AIAudioGenerator
154
+ placeholder="Describe the audio..."
155
+ supportedFormats={['mp3', 'wav']}
156
+ showWaveform={true}
157
+ />
158
+ ```
214
159
 
215
- ### Mobile Development Requirements
160
+ ## 🚀 Deployment Made Simple
216
161
 
217
- - **Node.js**: 16.0.0 or higher
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
- ## 🔧 Command Line Interface
164
+ ### 📋 **Multiple Hosting Options**
224
165
 
225
- ### Interactive Mode
166
+ #### **Vercel (Recommended)**
226
167
  ```bash
227
- npx @digilogiclabs/create-saas-app
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
- ### Command Line Options
174
+ #### **Netlify**
232
175
  ```bash
233
- npx @digilogiclabs/create-saas-app create <platform> [template] [name] [options]
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
- ### Usage Examples
251
-
252
- #### Web Applications
180
+ #### **Railway**
253
181
  ```bash
254
- # Basic web app with defaults
255
- npx @digilogiclabs/create-saas-app create web base my-app
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
- #### Mobile Applications
186
+ #### **Docker + Cloud Run**
279
187
  ```bash
280
- # Basic mobile app
281
- npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
188
+ # Containerized deployment with auto-scaling
189
+ gcloud run deploy --source .
190
+ ```
282
191
 
283
- # Tab navigation with Firebase
284
- npx @digilogiclabs/create-saas-app create mobile tabs my-tabs-app \
285
- --auth=firebase
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
- # Stack navigation with Supabase
288
- npx @digilogiclabs/create-saas-app create mobile stack my-stack-app \
289
- --auth=supabase --database=supabase
290
- ```
200
+ ## 🎛️ Advanced Configuration
291
201
 
292
- #### Full-Stack Applications
202
+ ### 🤖 **AI Capabilities**
293
203
  ```bash
294
- # Create both web and mobile
295
- npx @digilogiclabs/create-saas-app create both base my-full-stack-app
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
- # With specific configuration
298
- npx @digilogiclabs/create-saas-app create both base my-platform \
299
- --auth=supabase --database=supabase --theme=startup
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
- ## 🎨 Themes
303
-
304
- ### Default Theme
305
- Clean and modern design with neutral colors
217
+ ### 🎨 **Theming & Styling**
306
218
  ```bash
307
- --theme=default
308
- ```
219
+ # Theme options
220
+ --theme=default # Clean and modern
221
+ --theme=corporate # Professional blue
222
+ --theme=startup # Bold purple
309
223
 
310
- ### Corporate Theme
311
- Professional business theme with blue accents
312
- ```bash
313
- --theme=corporate
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
- ### Startup Theme
317
- Bold and innovative design with purple accents
235
+ ### 🔐 **Service Providers**
318
236
  ```bash
319
- --theme=startup
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
- ## 🔐 Authentication Setup
246
+ ## 📦 Package Ecosystem
323
247
 
324
- ### Firebase Authentication
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
- 1. **Create Firebase Project**: https://console.firebase.google.com
327
- 2. **Enable Authentication**: Go to Authentication > Sign-in method
328
- 3. **Get Configuration**: Project Settings > General > Your apps
329
- 4. **Update Environment Variables**:
330
- ```bash
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
- ### Supabase Authentication
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
- 1. **Create Supabase Project**: https://supabase.com/dashboard
339
- 2. **Get API Keys**: Settings > API
340
- 3. **Update Environment Variables**:
341
- ```bash
342
- NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
343
- NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
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
- ## 🚀 Deployment
273
+ ## 🛠️ Command Reference
347
274
 
348
- ### Web Deployment
275
+ ### 📋 **Create Command**
276
+ ```bash
277
+ npx @digilogiclabs/create-saas-app create <platform> [template] [name] [options]
349
278
 
350
- #### Vercel (Recommended)
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
- npm install -g vercel
353
- vercel
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
- #### Netlify
305
+ ### 🔄 **Update Command** (Coming Soon)
357
306
  ```bash
358
- npm run build
359
- # Upload dist folder to Netlify
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
- ### Mobile Deployment
314
+ ## 🌟 Examples
363
315
 
364
- #### Expo Application Services (EAS)
316
+ ### 🤖 **AI-Powered SaaS**
365
317
  ```bash
366
- npm install -g eas-cli
367
- eas build
368
- eas submit
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
- #### Manual Build
327
+ ### 🎵 **Music Streaming Platform**
372
328
  ```bash
373
- # iOS
374
- npx expo run:ios --configuration Release
375
-
376
- # Android
377
- npx expo run:android --variant release
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
- ## 🛠️ Adding Features
381
-
382
- Add features to existing projects:
383
-
338
+ ### 🎬 **Video Creation Studio**
384
339
  ```bash
385
- # Add billing to your SaaS app
386
- npx @digilogiclabs/create-saas-app add billing --provider=stripe
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
- # Add analytics
389
- npx @digilogiclabs/create-saas-app add analytics --provider=mixpanel
349
+ ## 📚 Getting Started Guide
390
350
 
391
- # Add team management
392
- npx @digilogiclabs/create-saas-app add teams
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
- ## 🔄 Updating Dependencies
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
- Keep your Digi Logic Labs packages up to date:
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
- # Check for updates
401
- npx @digilogiclabs/create-saas-app update --check
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
- # Update all packages
404
- npx @digilogiclabs/create-saas-app update
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
- ## 📋 Requirements
385
+ ## 🔧 Development
408
386
 
409
- - **Node.js**: 16.0.0 or higher
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 Setup
419
-
420
- 1. **Clone the repository**:
421
- ```bash
422
- git clone https://github.com/DigiLogicLabs/create-saas-app.git
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
- 4. **Test locally**:
437
- ```bash
438
- node bin/index.js create web base test-app
439
- ```
398
+ # Install dependencies
399
+ npm install
440
400
 
441
- ## 📚 Documentation
401
+ # Build CLI
402
+ npm run build
442
403
 
443
- - [Getting Started Guide](./docs/getting-started.md)
444
- - [Web Templates](./docs/templates/web-templates.md)
445
- - [Mobile Templates](./docs/templates/mobile-templates.md)
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
- #### "Command not found" error
412
+ #### CLI Command Not Found
455
413
  ```bash
456
- # Make sure you're using npx
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 generation fails
421
+ #### Template Generation Fails
464
422
  ```bash
465
- # Check Node.js version
466
- node --version # Should be 16.0.0+
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
- #### Mobile app won't start
442
+ #### AI Integration Issues
473
443
  ```bash
474
- # Install Expo CLI
475
- npm install -g @expo/cli
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
- # Clear Expo cache
478
- npx expo start --clear
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
- - 📧 **Email**: support@digilogiclabs.com
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.*