@digilogiclabs/create-saas-app 1.3.0 → 1.5.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/CHANGELOG.md +42 -0
- package/README.md +46 -22
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.js +48 -6
- package/dist/index.js.map +1 -1
- package/dist/templates/web/base/template/package.json +20 -10
- package/dist/templates/web/base/template/src/app/error.tsx +97 -0
- package/dist/templates/web/base/template/src/app/layout.tsx +8 -2
- package/dist/templates/web/base/template/src/app/loading.tsx +34 -0
- package/dist/templates/web/base/template/src/components/__tests__/example.test.tsx +49 -0
- package/dist/templates/web/base/template/src/components/providers/app-providers.tsx +6 -2
- package/dist/templates/web/base/template/src/components/providers/theme-provider.tsx +94 -0
- package/dist/templates/web/base/template/src/components/shared/footer.tsx +36 -0
- package/dist/templates/web/base/template/src/components/shared/header.tsx +2 -0
- package/dist/templates/web/base/template/src/components/ui/theme-toggle.tsx +34 -0
- package/dist/templates/web/base/template/src/lib/auth-server.ts +177 -0
- package/dist/templates/web/base/template/src/lib/env.ts +46 -0
- package/dist/templates/web/base/template/src/lib/utils.ts +133 -0
- package/dist/templates/web/base/template/src/test/setup.ts +79 -0
- package/dist/templates/web/base/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth/template/package.json +14 -4
- package/dist/templates/web/ui-auth/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-auth/template/src/app/layout.tsx +6 -2
- package/dist/templates/web/ui-auth/template/src/app/loading.tsx +20 -0
- package/dist/templates/web/ui-auth/template/src/components/__tests__/example.test.tsx +49 -0
- package/dist/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +6 -2
- package/dist/templates/web/ui-auth/template/src/components/providers/theme-provider.tsx +94 -0
- package/dist/templates/web/ui-auth/template/src/components/shared/footer.tsx +36 -0
- package/dist/templates/web/ui-auth/template/src/components/shared/header.tsx +2 -0
- package/dist/templates/web/ui-auth/template/src/components/ui/theme-toggle.tsx +34 -0
- package/dist/templates/web/ui-auth/template/src/lib/env.ts +49 -0
- package/dist/templates/web/ui-auth/template/src/lib/utils.ts +133 -0
- package/dist/templates/web/ui-auth/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-auth/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth-payments/template/middleware.ts +68 -0
- package/dist/templates/web/ui-auth-payments/template/package.json +14 -4
- package/dist/templates/web/ui-auth-payments/template/src/app/dashboard/layout.tsx +22 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/dashboard/page.tsx +183 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/layout.tsx +6 -2
- package/dist/templates/web/ui-auth-payments/template/src/app/loading.tsx +20 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/login/loading.tsx +38 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/signup/loading.tsx +50 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/__tests__/example.test.tsx +49 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/client/auth-status.tsx +52 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/client/login-form.tsx +144 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/client/newsletter-signup.tsx +68 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/client/signup-form.tsx +185 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/providers/app-providers.tsx +6 -2
- package/dist/templates/web/ui-auth-payments/template/src/components/providers/theme-provider.tsx +94 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/shared/footer.tsx +36 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +2 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/ui/theme-toggle.tsx +34 -0
- package/dist/templates/web/ui-auth-payments/template/src/lib/actions/auth.ts +246 -0
- package/dist/templates/web/ui-auth-payments/template/src/lib/actions/index.ts +340 -0
- package/dist/templates/web/ui-auth-payments/template/src/lib/auth-server.ts +177 -0
- package/dist/templates/web/ui-auth-payments/template/src/lib/env.ts +49 -0
- package/dist/templates/web/ui-auth-payments/template/src/lib/utils.ts +133 -0
- package/dist/templates/web/ui-auth-payments/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-auth-payments/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth-payments-audio/template/package.json +14 -4
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/layout.tsx +8 -2
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/loading.tsx +20 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/__tests__/example.test.tsx +49 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +6 -2
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/providers/theme-provider.tsx +94 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/shared/footer.tsx +36 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +2 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/ui/theme-toggle.tsx +34 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/lib/env.ts +49 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/lib/utils.ts +133 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-auth-payments-audio/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth-payments-video/template/package.json +14 -4
- package/dist/templates/web/ui-auth-payments-video/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/layout.tsx +6 -2
- package/dist/templates/web/ui-auth-payments-video/template/src/app/loading.tsx +20 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/__tests__/example.test.tsx +49 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +6 -2
- package/dist/templates/web/ui-auth-payments-video/template/src/components/providers/theme-provider.tsx +94 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/shared/footer.tsx +36 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +2 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/ui/theme-toggle.tsx +34 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/lib/env.ts +49 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/lib/utils.ts +133 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-auth-payments-video/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-only/template/package.json +14 -4
- package/dist/templates/web/ui-only/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-only/template/src/app/layout.tsx +6 -2
- package/dist/templates/web/ui-only/template/src/app/loading.tsx +20 -0
- package/dist/templates/web/ui-only/template/src/components/__tests__/example.test.tsx +49 -0
- package/dist/templates/web/ui-only/template/src/components/providers/app-providers.tsx +6 -2
- package/dist/templates/web/ui-only/template/src/components/providers/theme-provider.tsx +94 -0
- package/dist/templates/web/ui-only/template/src/components/shared/footer.tsx +36 -0
- package/dist/templates/web/ui-only/template/src/components/shared/header.tsx +2 -0
- package/dist/templates/web/ui-only/template/src/components/ui/theme-toggle.tsx +34 -0
- package/dist/templates/web/ui-only/template/src/lib/env.ts +49 -0
- package/dist/templates/web/ui-only/template/src/lib/utils.ts +133 -0
- package/dist/templates/web/ui-only/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-only/template/vitest.config.ts +17 -0
- package/package.json +1 -1
- package/src/templates/web/base/template/package.json +20 -10
- package/src/templates/web/base/template/src/app/error.tsx +97 -0
- package/src/templates/web/base/template/src/app/layout.tsx +8 -2
- package/src/templates/web/base/template/src/app/loading.tsx +34 -0
- package/src/templates/web/base/template/src/components/__tests__/example.test.tsx +49 -0
- package/src/templates/web/base/template/src/components/providers/app-providers.tsx +6 -2
- package/src/templates/web/base/template/src/components/providers/theme-provider.tsx +94 -0
- package/src/templates/web/base/template/src/components/shared/footer.tsx +36 -0
- package/src/templates/web/base/template/src/components/shared/header.tsx +2 -0
- package/src/templates/web/base/template/src/components/ui/theme-toggle.tsx +34 -0
- package/src/templates/web/base/template/src/lib/auth-server.ts +177 -0
- package/src/templates/web/base/template/src/lib/env.ts +46 -0
- package/src/templates/web/base/template/src/lib/utils.ts +133 -0
- package/src/templates/web/base/template/src/test/setup.ts +79 -0
- package/src/templates/web/base/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth/template/package.json +14 -4
- package/src/templates/web/ui-auth/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-auth/template/src/app/layout.tsx +6 -2
- package/src/templates/web/ui-auth/template/src/app/loading.tsx +20 -0
- package/src/templates/web/ui-auth/template/src/components/__tests__/example.test.tsx +49 -0
- package/src/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +6 -2
- package/src/templates/web/ui-auth/template/src/components/providers/theme-provider.tsx +94 -0
- package/src/templates/web/ui-auth/template/src/components/shared/footer.tsx +36 -0
- package/src/templates/web/ui-auth/template/src/components/shared/header.tsx +2 -0
- package/src/templates/web/ui-auth/template/src/components/ui/theme-toggle.tsx +34 -0
- package/src/templates/web/ui-auth/template/src/lib/env.ts +49 -0
- package/src/templates/web/ui-auth/template/src/lib/utils.ts +133 -0
- package/src/templates/web/ui-auth/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-auth/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth-payments/template/middleware.ts +68 -0
- package/src/templates/web/ui-auth-payments/template/package.json +14 -4
- package/src/templates/web/ui-auth-payments/template/src/app/dashboard/layout.tsx +22 -0
- package/src/templates/web/ui-auth-payments/template/src/app/dashboard/page.tsx +183 -0
- package/src/templates/web/ui-auth-payments/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-auth-payments/template/src/app/layout.tsx +6 -2
- package/src/templates/web/ui-auth-payments/template/src/app/loading.tsx +20 -0
- package/src/templates/web/ui-auth-payments/template/src/app/login/loading.tsx +38 -0
- package/src/templates/web/ui-auth-payments/template/src/app/signup/loading.tsx +50 -0
- package/src/templates/web/ui-auth-payments/template/src/components/__tests__/example.test.tsx +49 -0
- package/src/templates/web/ui-auth-payments/template/src/components/client/auth-status.tsx +52 -0
- package/src/templates/web/ui-auth-payments/template/src/components/client/login-form.tsx +144 -0
- package/src/templates/web/ui-auth-payments/template/src/components/client/newsletter-signup.tsx +68 -0
- package/src/templates/web/ui-auth-payments/template/src/components/client/signup-form.tsx +185 -0
- package/src/templates/web/ui-auth-payments/template/src/components/providers/app-providers.tsx +6 -2
- package/src/templates/web/ui-auth-payments/template/src/components/providers/theme-provider.tsx +94 -0
- package/src/templates/web/ui-auth-payments/template/src/components/shared/footer.tsx +36 -0
- package/src/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +2 -0
- package/src/templates/web/ui-auth-payments/template/src/components/ui/theme-toggle.tsx +34 -0
- package/src/templates/web/ui-auth-payments/template/src/lib/actions/auth.ts +246 -0
- package/src/templates/web/ui-auth-payments/template/src/lib/actions/index.ts +340 -0
- package/src/templates/web/ui-auth-payments/template/src/lib/auth-server.ts +177 -0
- package/src/templates/web/ui-auth-payments/template/src/lib/env.ts +49 -0
- package/src/templates/web/ui-auth-payments/template/src/lib/utils.ts +133 -0
- package/src/templates/web/ui-auth-payments/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-auth-payments/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth-payments-audio/template/package.json +14 -4
- package/src/templates/web/ui-auth-payments-audio/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/layout.tsx +8 -2
- package/src/templates/web/ui-auth-payments-audio/template/src/app/loading.tsx +20 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/__tests__/example.test.tsx +49 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +6 -2
- package/src/templates/web/ui-auth-payments-audio/template/src/components/providers/theme-provider.tsx +94 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/shared/footer.tsx +36 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +2 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/ui/theme-toggle.tsx +34 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/lib/env.ts +49 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/lib/utils.ts +133 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-auth-payments-audio/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth-payments-video/template/package.json +14 -4
- package/src/templates/web/ui-auth-payments-video/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/layout.tsx +6 -2
- package/src/templates/web/ui-auth-payments-video/template/src/app/loading.tsx +20 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/__tests__/example.test.tsx +49 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +6 -2
- package/src/templates/web/ui-auth-payments-video/template/src/components/providers/theme-provider.tsx +94 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/shared/footer.tsx +36 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +2 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/ui/theme-toggle.tsx +34 -0
- package/src/templates/web/ui-auth-payments-video/template/src/lib/env.ts +49 -0
- package/src/templates/web/ui-auth-payments-video/template/src/lib/utils.ts +133 -0
- package/src/templates/web/ui-auth-payments-video/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-auth-payments-video/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-only/template/package.json +14 -4
- package/src/templates/web/ui-only/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-only/template/src/app/layout.tsx +6 -2
- package/src/templates/web/ui-only/template/src/app/loading.tsx +20 -0
- package/src/templates/web/ui-only/template/src/components/__tests__/example.test.tsx +49 -0
- package/src/templates/web/ui-only/template/src/components/providers/app-providers.tsx +6 -2
- package/src/templates/web/ui-only/template/src/components/providers/theme-provider.tsx +94 -0
- package/src/templates/web/ui-only/template/src/components/shared/footer.tsx +36 -0
- package/src/templates/web/ui-only/template/src/components/shared/header.tsx +2 -0
- package/src/templates/web/ui-only/template/src/components/ui/theme-toggle.tsx +34 -0
- package/src/templates/web/ui-only/template/src/lib/env.ts +49 -0
- package/src/templates/web/ui-only/template/src/lib/utils.ts +133 -0
- package/src/templates/web/ui-only/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-only/template/vitest.config.ts +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @digilogiclabs/create-saas-app
|
|
2
2
|
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### 🎯 Major Enhancements - Best Practices Implementation
|
|
6
|
+
|
|
7
|
+
#### ✨ New Features
|
|
8
|
+
- **Testing Infrastructure**: Added Vitest with React Testing Library to all templates
|
|
9
|
+
- **Environment Validation**: Type-safe environment variables with Zod validation
|
|
10
|
+
- **Enhanced Error Handling**: Professional error boundaries and loading states
|
|
11
|
+
- **Development Performance**: Turbopack integration for faster development builds
|
|
12
|
+
- **Enhanced Utilities**: 10+ new utility functions (formatCurrency, debounce, etc.)
|
|
13
|
+
|
|
14
|
+
#### 🔧 Developer Experience
|
|
15
|
+
- **Test Scripts**: `npm run test`, `npm run test:ui`, `npm run test:run` in all templates
|
|
16
|
+
- **Type Safety**: Enhanced TypeScript configuration and type checking
|
|
17
|
+
- **Performance**: `next dev --turbo` for faster development builds
|
|
18
|
+
- **Code Quality**: Pre-configured test mocks for Next.js, Auth, and Payments
|
|
19
|
+
|
|
20
|
+
#### 📁 Template Enhancements
|
|
21
|
+
- **Error Boundaries**: Professional error pages with retry functionality in all templates
|
|
22
|
+
- **Loading States**: Clean loading components with spinners in all templates
|
|
23
|
+
- **Environment Config**: Type-safe environment validation in all templates
|
|
24
|
+
- **Enhanced Utils**: Comprehensive utility functions in all templates
|
|
25
|
+
- **Test Setup**: Complete testing infrastructure with example tests
|
|
26
|
+
|
|
27
|
+
#### 🎨 Templates Enhanced
|
|
28
|
+
- ✅ **ui-auth-payments**: Full SaaS with comprehensive best practices
|
|
29
|
+
- ✅ **ui-auth-payments-audio**: Audio SaaS with all enhancements
|
|
30
|
+
- ✅ **ui-auth-payments-video**: Video SaaS with all enhancements
|
|
31
|
+
- ✅ **ui-auth**: Authentication-focused template with testing
|
|
32
|
+
- ✅ **ui-only**: Clean UI template with development tools
|
|
33
|
+
- ✅ **base**: Foundation template with core enhancements
|
|
34
|
+
|
|
35
|
+
## 1.4.0
|
|
36
|
+
|
|
37
|
+
### 🎨 Theme System Implementation
|
|
38
|
+
|
|
39
|
+
#### ✨ Theme Features
|
|
40
|
+
- **Theme Colors**: 6 customizable theme colors (Blue, Green, Purple, Orange, Red, Slate)
|
|
41
|
+
- **Theme Modes**: Light/Dark/System theme support with persistence
|
|
42
|
+
- **CLI Options**: `--theme-color` and `--default-theme` command line options
|
|
43
|
+
- **Version Tracking**: Generator and package version tracking in generated projects
|
|
44
|
+
|
|
3
45
|
## 1.1.0
|
|
4
46
|
|
|
5
47
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -6,13 +6,16 @@ Create modern SaaS applications with Digi Logic Labs packages in seconds. This C
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# Create a web SaaS application
|
|
9
|
-
npx @digilogiclabs/create-saas-app web saas my-startup
|
|
9
|
+
npx @digilogiclabs/create-saas-app create web saas my-startup
|
|
10
|
+
|
|
11
|
+
# Create an audio streaming app
|
|
12
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio my-music-app
|
|
10
13
|
|
|
11
14
|
# Create a mobile app with tab navigation
|
|
12
|
-
npx @digilogiclabs/create-saas-app mobile tabs my-mobile-app
|
|
15
|
+
npx @digilogiclabs/create-saas-app create mobile tabs my-mobile-app
|
|
13
16
|
|
|
14
17
|
# Create both web and mobile apps
|
|
15
|
-
npx @digilogiclabs/create-saas-app both base my-full-stack-app
|
|
18
|
+
npx @digilogiclabs/create-saas-app create both base my-full-stack-app
|
|
16
19
|
```
|
|
17
20
|
|
|
18
21
|
## 📦 Installation
|
|
@@ -35,6 +38,7 @@ create-saas-app --help
|
|
|
35
38
|
- 🔧 **Smart Configuration**: Auto-configures auth, database, and themes
|
|
36
39
|
- 📦 **Package Integration**: Pre-configured with Digi Logic Labs packages
|
|
37
40
|
- 🎨 **Multiple Themes**: Corporate, startup, or default styling
|
|
41
|
+
- 🎵 **Media Support**: Audio and video streaming templates
|
|
38
42
|
- 🔐 **Auth Ready**: Firebase or Supabase authentication
|
|
39
43
|
- 📊 **Database Ready**: Supabase or Firebase database setup
|
|
40
44
|
- 🚀 **Deploy Ready**: Vercel, Netlify, and Expo deployment configs
|
|
@@ -50,19 +54,31 @@ create-saas-app --help
|
|
|
50
54
|
#### **Base Template**
|
|
51
55
|
Clean Next.js starter with authentication and UI components
|
|
52
56
|
```bash
|
|
53
|
-
npx @digilogiclabs/create-saas-app web base my-web-app
|
|
57
|
+
npx @digilogiclabs/create-saas-app create web base my-web-app
|
|
54
58
|
```
|
|
55
59
|
|
|
56
60
|
#### **Dashboard Template**
|
|
57
61
|
Admin dashboard with analytics and user management
|
|
58
62
|
```bash
|
|
59
|
-
npx @digilogiclabs/create-saas-app web dashboard admin-panel
|
|
63
|
+
npx @digilogiclabs/create-saas-app create web dashboard admin-panel
|
|
60
64
|
```
|
|
61
65
|
|
|
62
66
|
#### **SaaS Template**
|
|
63
67
|
Multi-tenant SaaS application with billing and teams
|
|
64
68
|
```bash
|
|
65
|
-
npx @digilogiclabs/create-saas-app web saas my-saas-platform
|
|
69
|
+
npx @digilogiclabs/create-saas-app create web saas my-saas-platform
|
|
70
|
+
```
|
|
71
|
+
|
|
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
|
+
```
|
|
77
|
+
|
|
78
|
+
#### **Video Player Template**
|
|
79
|
+
Full SaaS application with video streaming features and quality selection
|
|
80
|
+
```bash
|
|
81
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video my-video-app
|
|
66
82
|
```
|
|
67
83
|
|
|
68
84
|
### Web Project Structure
|
|
@@ -93,7 +109,7 @@ my-web-app/
|
|
|
93
109
|
|
|
94
110
|
1. **Create your project**:
|
|
95
111
|
```bash
|
|
96
|
-
npx @digilogiclabs/create-saas-app web base my-web-app
|
|
112
|
+
npx @digilogiclabs/create-saas-app create web base my-web-app
|
|
97
113
|
cd my-web-app
|
|
98
114
|
```
|
|
99
115
|
|
|
@@ -133,19 +149,19 @@ NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
|
|
|
133
149
|
#### **Base Template**
|
|
134
150
|
Simple Expo app with navigation and authentication
|
|
135
151
|
```bash
|
|
136
|
-
npx @digilogiclabs/create-saas-app mobile base my-mobile-app
|
|
152
|
+
npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
|
|
137
153
|
```
|
|
138
154
|
|
|
139
155
|
#### **Tabs Template**
|
|
140
156
|
Tab-based navigation structure
|
|
141
157
|
```bash
|
|
142
|
-
npx @digilogiclabs/create-saas-app mobile tabs my-tabs-app
|
|
158
|
+
npx @digilogiclabs/create-saas-app create mobile tabs my-tabs-app
|
|
143
159
|
```
|
|
144
160
|
|
|
145
161
|
#### **Stack Template**
|
|
146
162
|
Stack-based navigation structure
|
|
147
163
|
```bash
|
|
148
|
-
npx @digilogiclabs/create-saas-app mobile stack my-stack-app
|
|
164
|
+
npx @digilogiclabs/create-saas-app create mobile stack my-stack-app
|
|
149
165
|
```
|
|
150
166
|
|
|
151
167
|
### Mobile Project Structure
|
|
@@ -175,7 +191,7 @@ my-mobile-app/
|
|
|
175
191
|
|
|
176
192
|
1. **Create your project**:
|
|
177
193
|
```bash
|
|
178
|
-
npx @digilogiclabs/create-saas-app mobile base my-mobile-app
|
|
194
|
+
npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
|
|
179
195
|
cd my-mobile-app
|
|
180
196
|
```
|
|
181
197
|
|
|
@@ -214,7 +230,7 @@ The CLI will guide you through project configuration with interactive prompts.
|
|
|
214
230
|
|
|
215
231
|
### Command Line Options
|
|
216
232
|
```bash
|
|
217
|
-
npx @digilogiclabs/create-saas-app <platform> [template] [name] [options]
|
|
233
|
+
npx @digilogiclabs/create-saas-app create <platform> [template] [name] [options]
|
|
218
234
|
|
|
219
235
|
Arguments:
|
|
220
236
|
platform Platform: web, mobile, or both
|
|
@@ -236,42 +252,50 @@ Options:
|
|
|
236
252
|
#### Web Applications
|
|
237
253
|
```bash
|
|
238
254
|
# Basic web app with defaults
|
|
239
|
-
npx @digilogiclabs/create-saas-app web base my-app
|
|
255
|
+
npx @digilogiclabs/create-saas-app create web base my-app
|
|
240
256
|
|
|
241
257
|
# SaaS app with Supabase and corporate theme
|
|
242
|
-
npx @digilogiclabs/create-saas-app web saas my-startup \
|
|
258
|
+
npx @digilogiclabs/create-saas-app create web saas my-startup \
|
|
243
259
|
--auth=supabase --database=supabase --theme=corporate
|
|
244
260
|
|
|
245
261
|
# Dashboard with Firebase auth
|
|
246
|
-
npx @digilogiclabs/create-saas-app web dashboard admin-panel \
|
|
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 \
|
|
247
271
|
--auth=firebase --database=firebase
|
|
248
272
|
|
|
249
273
|
# Skip installation and git init
|
|
250
|
-
npx @digilogiclabs/create-saas-app web base my-app \
|
|
274
|
+
npx @digilogiclabs/create-saas-app create web base my-app \
|
|
251
275
|
--no-install --no-git
|
|
252
276
|
```
|
|
253
277
|
|
|
254
278
|
#### Mobile Applications
|
|
255
279
|
```bash
|
|
256
280
|
# Basic mobile app
|
|
257
|
-
npx @digilogiclabs/create-saas-app mobile base my-mobile-app
|
|
281
|
+
npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
|
|
258
282
|
|
|
259
283
|
# Tab navigation with Firebase
|
|
260
|
-
npx @digilogiclabs/create-saas-app mobile tabs my-tabs-app \
|
|
284
|
+
npx @digilogiclabs/create-saas-app create mobile tabs my-tabs-app \
|
|
261
285
|
--auth=firebase
|
|
262
286
|
|
|
263
287
|
# Stack navigation with Supabase
|
|
264
|
-
npx @digilogiclabs/create-saas-app mobile stack my-stack-app \
|
|
288
|
+
npx @digilogiclabs/create-saas-app create mobile stack my-stack-app \
|
|
265
289
|
--auth=supabase --database=supabase
|
|
266
290
|
```
|
|
267
291
|
|
|
268
292
|
#### Full-Stack Applications
|
|
269
293
|
```bash
|
|
270
294
|
# Create both web and mobile
|
|
271
|
-
npx @digilogiclabs/create-saas-app both base my-full-stack-app
|
|
295
|
+
npx @digilogiclabs/create-saas-app create both base my-full-stack-app
|
|
272
296
|
|
|
273
297
|
# With specific configuration
|
|
274
|
-
npx @digilogiclabs/create-saas-app both base my-platform \
|
|
298
|
+
npx @digilogiclabs/create-saas-app create both base my-platform \
|
|
275
299
|
--auth=supabase --database=supabase --theme=startup
|
|
276
300
|
```
|
|
277
301
|
|
|
@@ -411,7 +435,7 @@ We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) f
|
|
|
411
435
|
|
|
412
436
|
4. **Test locally**:
|
|
413
437
|
```bash
|
|
414
|
-
node
|
|
438
|
+
node bin/index.js create web base test-app
|
|
415
439
|
```
|
|
416
440
|
|
|
417
441
|
## 📚 Documentation
|