@digilogiclabs/create-saas-app 2.0.0 → 2.2.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 +7 -0
- package/README.md +975 -891
- package/dist/.tsbuildinfo +1 -1
- package/dist/generators/template-generator.d.ts +11 -0
- package/dist/generators/template-generator.d.ts.map +1 -1
- package/dist/generators/template-generator.js +389 -18
- package/dist/generators/template-generator.js.map +1 -1
- package/dist/index.js +1837 -0
- package/dist/index.js.map +1 -0
- package/dist/templates/infrastructure/kubernetes/base/template/README.md +253 -0
- package/dist/templates/infrastructure/kubernetes/base/template/configmap.yaml +12 -0
- package/dist/templates/infrastructure/kubernetes/base/template/deployment.yaml +123 -0
- package/dist/templates/infrastructure/kubernetes/base/template/hpa.yaml +45 -0
- package/dist/templates/infrastructure/kubernetes/base/template/ingress.yaml +31 -0
- package/dist/templates/infrastructure/kubernetes/base/template/kustomization.yaml +25 -0
- package/dist/templates/infrastructure/kubernetes/base/template/namespace.yaml +8 -0
- package/dist/templates/infrastructure/kubernetes/base/template/networkpolicy.yaml +48 -0
- package/dist/templates/infrastructure/kubernetes/base/template/pdb.yaml +14 -0
- package/dist/templates/infrastructure/kubernetes/base/template/secret.yaml +17 -0
- package/dist/templates/infrastructure/kubernetes/base/template/service.yaml +19 -0
- package/dist/templates/infrastructure/kubernetes/base/template/serviceaccount.yaml +9 -0
- package/dist/templates/infrastructure/kubernetes/production/template/kustomization.yaml +92 -0
- package/dist/templates/infrastructure/terraform/aws/template/README.md +156 -0
- package/dist/templates/infrastructure/terraform/aws/template/main.tf +343 -0
- package/dist/templates/infrastructure/terraform/aws/template/outputs.tf +66 -0
- package/dist/templates/infrastructure/terraform/aws/template/terraform.tfvars.example +28 -0
- package/dist/templates/infrastructure/terraform/aws/template/variables.tf +110 -0
- package/dist/templates/infrastructure/terraform/gcp/template/README.md +165 -0
- package/dist/templates/infrastructure/terraform/gcp/template/main.tf +397 -0
- package/dist/templates/infrastructure/terraform/gcp/template/outputs.tf +51 -0
- package/dist/templates/infrastructure/terraform/gcp/template/terraform.tfvars.example +29 -0
- package/dist/templates/infrastructure/terraform/gcp/template/variables.tf +115 -0
- package/dist/templates/shared/admin/web/app/admin/layout.tsx +34 -0
- package/dist/templates/shared/admin/web/components/admin-nav.tsx +48 -0
- package/dist/templates/shared/audit/web/lib/audit.ts +24 -0
- package/dist/templates/shared/auth/keycloak/web/app/api/auth/federated-logout/route.ts +173 -0
- package/dist/templates/shared/auth/keycloak/web/auth.config.ts +84 -0
- package/dist/templates/shared/auth/keycloak/web/auth.ts +26 -0
- package/dist/templates/shared/beta/web/app/api/beta-settings/route.ts +25 -0
- package/dist/templates/shared/beta/web/app/api/validate-beta-code/route.ts +67 -0
- package/dist/templates/shared/beta/web/lib/beta/settings.ts +31 -0
- package/dist/templates/shared/cache/web/lib/cache.ts +44 -0
- package/dist/templates/shared/config/web/lib/config.ts +112 -0
- package/dist/templates/shared/config/web/next.config.mjs +62 -0
- package/dist/templates/shared/contact/web/app/api/contact/route.ts +113 -0
- package/dist/templates/shared/contact/web/app/contact/page.tsx +195 -0
- package/dist/templates/shared/cookie-consent/web/components/cookie-consent.tsx +54 -0
- package/dist/templates/shared/database/postgresql/web/drizzle.config.ts +16 -0
- package/dist/templates/shared/database/postgresql/web/lib/db/drizzle.ts +39 -0
- package/dist/templates/shared/database/postgresql/web/lib/db/schema.ts +33 -0
- package/dist/templates/shared/database/supabase/web/lib/supabase/client.ts +12 -0
- package/dist/templates/shared/database/supabase/web/lib/supabase/server.ts +31 -0
- package/dist/templates/shared/database/supabase/web/lib/supabase/service.ts +15 -0
- package/dist/templates/shared/email/web/lib/email/branding.ts +18 -0
- package/dist/templates/shared/email/web/lib/email/client.ts +96 -0
- package/dist/templates/shared/error-pages/web/app/error.tsx +70 -0
- package/dist/templates/shared/error-pages/web/app/global-error.tsx +102 -0
- package/dist/templates/shared/error-pages/web/app/not-found.tsx +39 -0
- package/dist/templates/shared/health/web/app/api/health/route.ts +68 -0
- package/dist/templates/shared/legal/web/app/(legal)/privacy/page.tsx +205 -0
- package/dist/templates/shared/legal/web/app/(legal)/terms/page.tsx +154 -0
- package/dist/templates/shared/legal/web/lib/legal-config.ts +50 -0
- package/dist/templates/shared/loading/web/app/loading.tsx +5 -0
- package/dist/templates/shared/loading/web/components/skeleton.tsx +95 -0
- package/dist/templates/shared/middleware/web/middleware.ts +68 -0
- package/dist/templates/shared/observability/web/lib/observability.ts +135 -0
- package/dist/templates/shared/payments/web/app/api/webhooks/stripe/route.ts +109 -0
- package/dist/templates/shared/platform/web/lib/platform.ts +37 -0
- package/dist/templates/shared/redis/web/lib/rate-limit-store.ts +18 -0
- package/dist/templates/shared/redis/web/lib/redis.ts +48 -0
- package/dist/templates/shared/security/web/lib/api-security.ts +318 -0
- package/dist/templates/shared/seo/web/app/api/og/route.tsx +97 -0
- package/dist/templates/shared/seo/web/app/robots.ts +53 -0
- package/dist/templates/shared/seo/web/app/sitemap.ts +53 -0
- package/dist/templates/shared/utils/web/lib/api-response.ts +71 -0
- package/dist/templates/shared/utils/web/lib/utils.ts +85 -0
- package/dist/templates/web/ai-platform/template/.env.example +16 -0
- package/dist/templates/web/ai-platform/template/README.md +84 -0
- package/dist/templates/web/ai-platform/template/middleware.ts +55 -0
- package/dist/templates/web/ai-platform/template/next.config.js +14 -0
- package/dist/templates/web/ai-platform/template/package.json +55 -0
- package/dist/templates/web/ai-platform/template/src/app/api/chat/route.ts +54 -0
- package/dist/templates/web/ai-platform/template/src/app/chat/page.tsx +235 -0
- package/dist/templates/web/ai-platform/template/src/app/dashboard/page.tsx +142 -0
- package/dist/templates/web/ai-platform/template/src/app/globals.css +34 -0
- package/dist/templates/web/ai-platform/template/src/app/layout.tsx +27 -0
- package/dist/templates/web/ai-platform/template/src/app/page.tsx +203 -0
- package/dist/templates/web/ai-platform/template/src/components/providers/app-providers.tsx +27 -0
- package/dist/templates/web/ai-platform/template/src/lib/auth-server.ts +33 -0
- package/dist/templates/web/ai-platform/template/src/lib/supabase/client.ts +8 -0
- package/dist/templates/web/ai-platform/template/src/lib/supabase/server.ts +27 -0
- package/dist/templates/web/ai-platform/template/src/lib/utils.ts +6 -0
- package/dist/templates/web/ai-platform/template/tsconfig.json +27 -0
- package/dist/templates/web/iot-dashboard/template/.env.example +12 -0
- package/dist/templates/web/iot-dashboard/template/README.md +101 -0
- package/dist/templates/web/iot-dashboard/template/middleware.ts +56 -0
- package/dist/templates/web/iot-dashboard/template/next.config.js +14 -0
- package/dist/templates/web/iot-dashboard/template/package.json +49 -0
- package/dist/templates/web/iot-dashboard/template/src/app/dashboard/page.tsx +229 -0
- package/dist/templates/web/iot-dashboard/template/src/app/globals.css +20 -0
- package/dist/templates/web/iot-dashboard/template/src/app/layout.tsx +27 -0
- package/dist/templates/web/iot-dashboard/template/src/app/page.tsx +191 -0
- package/dist/templates/web/iot-dashboard/template/src/components/providers/app-providers.tsx +24 -0
- package/dist/templates/web/iot-dashboard/template/src/lib/auth-server.ts +33 -0
- package/dist/templates/web/iot-dashboard/template/src/lib/supabase/client.ts +8 -0
- package/dist/templates/web/iot-dashboard/template/src/lib/supabase/server.ts +27 -0
- package/dist/templates/web/iot-dashboard/template/src/lib/utils.ts +25 -0
- package/dist/templates/web/iot-dashboard/template/tsconfig.json +27 -0
- package/dist/templates/web/marketplace/template/.env.example +12 -0
- package/dist/templates/web/marketplace/template/README.md +66 -0
- package/dist/templates/web/marketplace/template/middleware.ts +56 -0
- package/dist/templates/web/marketplace/template/next.config.js +14 -0
- package/dist/templates/web/marketplace/template/package.json +51 -0
- package/dist/templates/web/marketplace/template/src/app/cart/page.tsx +147 -0
- package/dist/templates/web/marketplace/template/src/app/dashboard/page.tsx +149 -0
- package/dist/templates/web/marketplace/template/src/app/globals.css +20 -0
- package/dist/templates/web/marketplace/template/src/app/layout.tsx +27 -0
- package/dist/templates/web/marketplace/template/src/app/page.tsx +167 -0
- package/dist/templates/web/marketplace/template/src/app/products/page.tsx +129 -0
- package/dist/templates/web/marketplace/template/src/components/providers/app-providers.tsx +27 -0
- package/dist/templates/web/marketplace/template/src/lib/auth-server.ts +33 -0
- package/dist/templates/web/marketplace/template/src/lib/supabase/client.ts +8 -0
- package/dist/templates/web/marketplace/template/src/lib/supabase/server.ts +27 -0
- package/dist/templates/web/marketplace/template/src/lib/utils.ts +19 -0
- package/dist/templates/web/marketplace/template/tsconfig.json +27 -0
- package/dist/templates/web/micro-saas/template/.env.example +10 -0
- package/dist/templates/web/micro-saas/template/README.md +63 -0
- package/dist/templates/web/micro-saas/template/middleware.ts +53 -0
- package/dist/templates/web/micro-saas/template/next.config.js +14 -0
- package/dist/templates/web/micro-saas/template/package.json +41 -0
- package/dist/templates/web/micro-saas/template/src/app/dashboard/page.tsx +117 -0
- package/dist/templates/web/micro-saas/template/src/app/globals.css +20 -0
- package/dist/templates/web/micro-saas/template/src/app/layout.tsx +27 -0
- package/dist/templates/web/micro-saas/template/src/app/login/page.tsx +87 -0
- package/dist/templates/web/micro-saas/template/src/app/page.tsx +137 -0
- package/dist/templates/web/micro-saas/template/src/app/signup/page.tsx +108 -0
- package/dist/templates/web/micro-saas/template/src/components/providers/app-providers.tsx +24 -0
- package/dist/templates/web/micro-saas/template/src/lib/auth-server.ts +33 -0
- package/dist/templates/web/micro-saas/template/src/lib/supabase/client.ts +8 -0
- package/dist/templates/web/micro-saas/template/src/lib/supabase/server.ts +29 -0
- package/dist/templates/web/micro-saas/template/src/lib/utils.ts +6 -0
- package/dist/templates/web/micro-saas/template/tsconfig.json +27 -0
- package/package.json +5 -4
- package/src/templates/infrastructure/kubernetes/base/template/README.md +253 -0
- package/src/templates/infrastructure/kubernetes/base/template/configmap.yaml +12 -0
- package/src/templates/infrastructure/kubernetes/base/template/deployment.yaml +123 -0
- package/src/templates/infrastructure/kubernetes/base/template/hpa.yaml +45 -0
- package/src/templates/infrastructure/kubernetes/base/template/ingress.yaml +31 -0
- package/src/templates/infrastructure/kubernetes/base/template/kustomization.yaml +25 -0
- package/src/templates/infrastructure/kubernetes/base/template/namespace.yaml +8 -0
- package/src/templates/infrastructure/kubernetes/base/template/networkpolicy.yaml +48 -0
- package/src/templates/infrastructure/kubernetes/base/template/pdb.yaml +14 -0
- package/src/templates/infrastructure/kubernetes/base/template/secret.yaml +17 -0
- package/src/templates/infrastructure/kubernetes/base/template/service.yaml +19 -0
- package/src/templates/infrastructure/kubernetes/base/template/serviceaccount.yaml +9 -0
- package/src/templates/infrastructure/kubernetes/production/template/kustomization.yaml +92 -0
- package/src/templates/infrastructure/terraform/aws/template/README.md +156 -0
- package/src/templates/infrastructure/terraform/aws/template/main.tf +343 -0
- package/src/templates/infrastructure/terraform/aws/template/outputs.tf +66 -0
- package/src/templates/infrastructure/terraform/aws/template/terraform.tfvars.example +28 -0
- package/src/templates/infrastructure/terraform/aws/template/variables.tf +110 -0
- package/src/templates/infrastructure/terraform/gcp/template/README.md +165 -0
- package/src/templates/infrastructure/terraform/gcp/template/main.tf +397 -0
- package/src/templates/infrastructure/terraform/gcp/template/outputs.tf +51 -0
- package/src/templates/infrastructure/terraform/gcp/template/terraform.tfvars.example +29 -0
- package/src/templates/infrastructure/terraform/gcp/template/variables.tf +115 -0
- package/src/templates/shared/admin/web/app/admin/layout.tsx +34 -0
- package/src/templates/shared/admin/web/components/admin-nav.tsx +48 -0
- package/src/templates/shared/audit/web/lib/audit.ts +24 -0
- package/src/templates/shared/auth/keycloak/web/app/api/auth/federated-logout/route.ts +173 -0
- package/src/templates/shared/auth/keycloak/web/auth.config.ts +84 -0
- package/src/templates/shared/auth/keycloak/web/auth.ts +26 -0
- package/src/templates/shared/beta/web/app/api/beta-settings/route.ts +25 -0
- package/src/templates/shared/beta/web/app/api/validate-beta-code/route.ts +67 -0
- package/src/templates/shared/beta/web/lib/beta/settings.ts +31 -0
- package/src/templates/shared/cache/web/lib/cache.ts +44 -0
- package/src/templates/shared/config/web/lib/config.ts +112 -0
- package/src/templates/shared/config/web/next.config.mjs +62 -0
- package/src/templates/shared/contact/web/app/api/contact/route.ts +113 -0
- package/src/templates/shared/contact/web/app/contact/page.tsx +195 -0
- package/src/templates/shared/cookie-consent/web/components/cookie-consent.tsx +54 -0
- package/src/templates/shared/database/postgresql/web/drizzle.config.ts +16 -0
- package/src/templates/shared/database/postgresql/web/lib/db/drizzle.ts +39 -0
- package/src/templates/shared/database/postgresql/web/lib/db/schema.ts +33 -0
- package/src/templates/shared/database/supabase/web/lib/supabase/client.ts +12 -0
- package/src/templates/shared/database/supabase/web/lib/supabase/server.ts +31 -0
- package/src/templates/shared/database/supabase/web/lib/supabase/service.ts +15 -0
- package/src/templates/shared/email/web/lib/email/branding.ts +18 -0
- package/src/templates/shared/email/web/lib/email/client.ts +96 -0
- package/src/templates/shared/error-pages/web/app/error.tsx +70 -0
- package/src/templates/shared/error-pages/web/app/global-error.tsx +102 -0
- package/src/templates/shared/error-pages/web/app/not-found.tsx +39 -0
- package/src/templates/shared/health/web/app/api/health/route.ts +68 -0
- package/src/templates/shared/legal/web/app/(legal)/privacy/page.tsx +205 -0
- package/src/templates/shared/legal/web/app/(legal)/terms/page.tsx +154 -0
- package/src/templates/shared/legal/web/lib/legal-config.ts +50 -0
- package/src/templates/shared/loading/web/app/loading.tsx +5 -0
- package/src/templates/shared/loading/web/components/skeleton.tsx +95 -0
- package/src/templates/shared/middleware/web/middleware.ts +68 -0
- package/src/templates/shared/observability/web/lib/observability.ts +135 -0
- package/src/templates/shared/payments/web/app/api/webhooks/stripe/route.ts +109 -0
- package/src/templates/shared/platform/web/lib/platform.ts +37 -0
- package/src/templates/shared/redis/web/lib/rate-limit-store.ts +18 -0
- package/src/templates/shared/redis/web/lib/redis.ts +48 -0
- package/src/templates/shared/security/web/lib/api-security.ts +318 -0
- package/src/templates/shared/seo/web/app/api/og/route.tsx +97 -0
- package/src/templates/shared/seo/web/app/robots.ts +53 -0
- package/src/templates/shared/seo/web/app/sitemap.ts +53 -0
- package/src/templates/shared/utils/web/lib/api-response.ts +71 -0
- package/src/templates/shared/utils/web/lib/utils.ts +85 -0
- package/src/templates/web/ai-platform/template/.env.example +16 -0
- package/src/templates/web/ai-platform/template/README.md +84 -0
- package/src/templates/web/ai-platform/template/middleware.ts +55 -0
- package/src/templates/web/ai-platform/template/next.config.js +14 -0
- package/src/templates/web/ai-platform/template/package.json +55 -0
- package/src/templates/web/ai-platform/template/src/app/api/chat/route.ts +54 -0
- package/src/templates/web/ai-platform/template/src/app/chat/page.tsx +235 -0
- package/src/templates/web/ai-platform/template/src/app/dashboard/page.tsx +142 -0
- package/src/templates/web/ai-platform/template/src/app/globals.css +34 -0
- package/src/templates/web/ai-platform/template/src/app/layout.tsx +27 -0
- package/src/templates/web/ai-platform/template/src/app/page.tsx +203 -0
- package/src/templates/web/ai-platform/template/src/components/providers/app-providers.tsx +27 -0
- package/src/templates/web/ai-platform/template/src/lib/auth-server.ts +33 -0
- package/src/templates/web/ai-platform/template/src/lib/supabase/client.ts +8 -0
- package/src/templates/web/ai-platform/template/src/lib/supabase/server.ts +27 -0
- package/src/templates/web/ai-platform/template/src/lib/utils.ts +6 -0
- package/src/templates/web/ai-platform/template/tsconfig.json +27 -0
- package/src/templates/web/iot-dashboard/template/.env.example +12 -0
- package/src/templates/web/iot-dashboard/template/README.md +101 -0
- package/src/templates/web/iot-dashboard/template/middleware.ts +56 -0
- package/src/templates/web/iot-dashboard/template/next.config.js +14 -0
- package/src/templates/web/iot-dashboard/template/package.json +49 -0
- package/src/templates/web/iot-dashboard/template/src/app/dashboard/page.tsx +229 -0
- package/src/templates/web/iot-dashboard/template/src/app/globals.css +20 -0
- package/src/templates/web/iot-dashboard/template/src/app/layout.tsx +27 -0
- package/src/templates/web/iot-dashboard/template/src/app/page.tsx +191 -0
- package/src/templates/web/iot-dashboard/template/src/components/providers/app-providers.tsx +24 -0
- package/src/templates/web/iot-dashboard/template/src/lib/auth-server.ts +33 -0
- package/src/templates/web/iot-dashboard/template/src/lib/supabase/client.ts +8 -0
- package/src/templates/web/iot-dashboard/template/src/lib/supabase/server.ts +27 -0
- package/src/templates/web/iot-dashboard/template/src/lib/utils.ts +25 -0
- package/src/templates/web/iot-dashboard/template/tsconfig.json +27 -0
- package/src/templates/web/marketplace/template/.env.example +12 -0
- package/src/templates/web/marketplace/template/README.md +66 -0
- package/src/templates/web/marketplace/template/middleware.ts +56 -0
- package/src/templates/web/marketplace/template/next.config.js +14 -0
- package/src/templates/web/marketplace/template/package.json +51 -0
- package/src/templates/web/marketplace/template/src/app/cart/page.tsx +147 -0
- package/src/templates/web/marketplace/template/src/app/dashboard/page.tsx +149 -0
- package/src/templates/web/marketplace/template/src/app/globals.css +20 -0
- package/src/templates/web/marketplace/template/src/app/layout.tsx +27 -0
- package/src/templates/web/marketplace/template/src/app/page.tsx +167 -0
- package/src/templates/web/marketplace/template/src/app/products/page.tsx +129 -0
- package/src/templates/web/marketplace/template/src/components/providers/app-providers.tsx +27 -0
- package/src/templates/web/marketplace/template/src/lib/auth-server.ts +33 -0
- package/src/templates/web/marketplace/template/src/lib/supabase/client.ts +8 -0
- package/src/templates/web/marketplace/template/src/lib/supabase/server.ts +27 -0
- package/src/templates/web/marketplace/template/src/lib/utils.ts +19 -0
- package/src/templates/web/marketplace/template/tsconfig.json +27 -0
- package/src/templates/web/micro-saas/template/.env.example +10 -0
- package/src/templates/web/micro-saas/template/README.md +63 -0
- package/src/templates/web/micro-saas/template/middleware.ts +53 -0
- package/src/templates/web/micro-saas/template/next.config.js +14 -0
- package/src/templates/web/micro-saas/template/package.json +41 -0
- package/src/templates/web/micro-saas/template/src/app/dashboard/page.tsx +117 -0
- package/src/templates/web/micro-saas/template/src/app/globals.css +20 -0
- package/src/templates/web/micro-saas/template/src/app/layout.tsx +27 -0
- package/src/templates/web/micro-saas/template/src/app/login/page.tsx +87 -0
- package/src/templates/web/micro-saas/template/src/app/page.tsx +137 -0
- package/src/templates/web/micro-saas/template/src/app/signup/page.tsx +108 -0
- package/src/templates/web/micro-saas/template/src/components/providers/app-providers.tsx +24 -0
- package/src/templates/web/micro-saas/template/src/lib/auth-server.ts +33 -0
- package/src/templates/web/micro-saas/template/src/lib/supabase/client.ts +8 -0
- package/src/templates/web/micro-saas/template/src/lib/supabase/server.ts +29 -0
- package/src/templates/web/micro-saas/template/src/lib/utils.ts +6 -0
- package/src/templates/web/micro-saas/template/tsconfig.json +27 -0
- package/dist/cli/commands/add.d.ts +0 -6
- package/dist/cli/commands/add.d.ts.map +0 -1
- package/dist/cli/commands/add.js +0 -39
- package/dist/cli/commands/add.js.map +0 -1
- package/dist/cli/commands/create.d.ts +0 -45
- package/dist/cli/commands/create.d.ts.map +0 -1
- package/dist/cli/commands/create.js +0 -175
- package/dist/cli/commands/create.js.map +0 -1
- package/dist/cli/commands/index.d.ts +0 -4
- package/dist/cli/commands/index.d.ts.map +0 -1
- package/dist/cli/commands/index.js +0 -20
- package/dist/cli/commands/index.js.map +0 -1
- package/dist/cli/commands/update.d.ts +0 -6
- package/dist/cli/commands/update.d.ts.map +0 -1
- package/dist/cli/commands/update.js +0 -68
- package/dist/cli/commands/update.js.map +0 -1
- package/dist/cli/index.d.ts +0 -4
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -61
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/prompts/index.d.ts +0 -2
- package/dist/cli/prompts/index.d.ts.map +0 -1
- package/dist/cli/prompts/index.js +0 -18
- package/dist/cli/prompts/index.js.map +0 -1
- package/dist/cli/prompts/project-setup.d.ts +0 -5
- package/dist/cli/prompts/project-setup.d.ts.map +0 -1
- package/dist/cli/prompts/project-setup.js +0 -316
- package/dist/cli/prompts/project-setup.js.map +0 -1
- package/dist/cli/utils/git.d.ts +0 -9
- package/dist/cli/utils/git.d.ts.map +0 -1
- package/dist/cli/utils/git.js +0 -77
- package/dist/cli/utils/git.js.map +0 -1
- package/dist/cli/utils/index.d.ts +0 -5
- package/dist/cli/utils/index.d.ts.map +0 -1
- package/dist/cli/utils/index.js +0 -21
- package/dist/cli/utils/index.js.map +0 -1
- package/dist/cli/utils/logger.d.ts +0 -16
- package/dist/cli/utils/logger.d.ts.map +0 -1
- package/dist/cli/utils/logger.js +0 -55
- package/dist/cli/utils/logger.js.map +0 -1
- package/dist/cli/utils/package-manager.d.ts +0 -8
- package/dist/cli/utils/package-manager.d.ts.map +0 -1
- package/dist/cli/utils/package-manager.js +0 -92
- package/dist/cli/utils/package-manager.js.map +0 -1
- package/dist/cli/utils/spinner.d.ts +0 -7
- package/dist/cli/utils/spinner.d.ts.map +0 -1
- package/dist/cli/utils/spinner.js +0 -48
- package/dist/cli/utils/spinner.js.map +0 -1
- package/dist/cli/validators/dependencies.d.ts +0 -15
- package/dist/cli/validators/dependencies.d.ts.map +0 -1
- package/dist/cli/validators/dependencies.js +0 -108
- package/dist/cli/validators/dependencies.js.map +0 -1
- package/dist/cli/validators/index.d.ts +0 -3
- package/dist/cli/validators/index.d.ts.map +0 -1
- package/dist/cli/validators/index.js +0 -19
- package/dist/cli/validators/index.js.map +0 -1
- package/dist/cli/validators/project-name.d.ts +0 -5
- package/dist/cli/validators/project-name.d.ts.map +0 -1
- package/dist/cli/validators/project-name.js +0 -151
- package/dist/cli/validators/project-name.js.map +0 -1
- package/dist/generators/file-processor.d.ts +0 -28
- package/dist/generators/file-processor.d.ts.map +0 -1
- package/dist/generators/file-processor.js +0 -224
- package/dist/generators/file-processor.js.map +0 -1
- package/dist/generators/index.d.ts +0 -4
- package/dist/generators/index.d.ts.map +0 -1
- package/dist/generators/index.js +0 -20
- package/dist/generators/index.js.map +0 -1
- package/dist/generators/package-installer.d.ts +0 -29
- package/dist/generators/package-installer.d.ts.map +0 -1
- package/dist/generators/package-installer.js +0 -177
- package/dist/generators/package-installer.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,891 +1,975 @@
|
|
|
1
|
-
# @digilogiclabs/create-saas-app
|
|
2
|
-
|
|
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)
|
|
7
|
-
|
|
8
|
-
## ⚡ **Quick Start - High-Value Templates**
|
|
9
|
-
|
|
10
|
-
Get started instantly with our most popular, production-ready templates:
|
|
11
|
-
|
|
12
|
-
### **🎯 Recommended Templates**
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
# 💳 Complete SaaS Foundation (Payments + Auth)
|
|
16
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments my-saas-app
|
|
17
|
-
|
|
18
|
-
# 🤖 AI-Powered SaaS Platform (Text, Audio, Video AI)
|
|
19
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all
|
|
20
|
-
|
|
21
|
-
# 🧠 AI Knowledge Base & RAG System (v4.0.0)
|
|
22
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai-rag knowledge-app --with-ai=rag
|
|
23
|
-
|
|
24
|
-
# 🎵 Audio Streaming SaaS (Music/Podcast Platform)
|
|
25
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform
|
|
26
|
-
|
|
27
|
-
# 🎬 Video Streaming SaaS (Video Platform)
|
|
28
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio
|
|
29
|
-
|
|
30
|
-
# 📱 Mobile AI SaaS (React Native + Expo)
|
|
31
|
-
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai-app --with-ai=all
|
|
32
|
-
|
|
33
|
-
# 📱 Mobile RAG Knowledge App
|
|
34
|
-
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai-rag knowledge-mobile --with-ai=rag
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## 🚀 Complete Template Reference
|
|
38
|
-
|
|
39
|
-
### **Quick Command Reference**
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
# Interactive mode (recommended for beginners)
|
|
43
|
-
npx @digilogiclabs/create-saas-app create
|
|
44
|
-
|
|
45
|
-
# Direct command format
|
|
46
|
-
npx @digilogiclabs/create-saas-app create <platform> <template> <project-name> [options]
|
|
47
|
-
|
|
48
|
-
# Get help anytime
|
|
49
|
-
npx @digilogiclabs/create-saas-app --help
|
|
50
|
-
npx @digilogiclabs/create-saas-app create --help
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### **📋 All Available Templates (16 Total)**
|
|
54
|
-
|
|
55
|
-
#### **🌐 Web Templates (11)**
|
|
56
|
-
|
|
57
|
-
**💎 Premium SaaS Templates**
|
|
58
|
-
| Template | Description | Features | Command |
|
|
59
|
-
|----------|-------------|----------|---------|
|
|
60
|
-
| `ui-auth-payments` | **Complete SaaS Foundation** | Auth + Payments + Dashboard | `npx @digilogiclabs/create-saas-app create web ui-auth-payments my-saas` |
|
|
61
|
-
| `ui-auth-payments-ai` | **AI-Powered SaaS Platform** | Full AI Suite (Text, Audio, Video) | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all` |
|
|
62
|
-
| `ui-auth-payments-ai-rag` | **🧠 AI Knowledge Base & RAG** | Smart Document Processing v4.0.0 | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai-rag knowledge-app --with-ai=rag` |
|
|
63
|
-
| `ui-auth-payments-audio` | **🎵 Audio Streaming SaaS** | Music/Podcast Platform | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform` |
|
|
64
|
-
| `ui-auth-payments-video` | **🎬 Video Streaming SaaS** | Video Platform & Studio | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio` |
|
|
65
|
-
|
|
66
|
-
**🚀 Starter Templates**
|
|
67
|
-
| Template | Description | Features | Command |
|
|
68
|
-
|----------|-------------|----------|---------|
|
|
69
|
-
| `base` | Clean Next.js 15 starter | Minimal setup | `npx @digilogiclabs/create-saas-app create web base my-app` |
|
|
70
|
-
| `ui-only` | Component library showcase | Design system | `npx @digilogiclabs/create-saas-app create web ui-only design-system` |
|
|
71
|
-
| `ui-auth` | Authentication flow | Auth + Dashboard | `npx @digilogiclabs/create-saas-app create web ui-auth auth-app` |
|
|
72
|
-
| `ui-auth-ai` | Text & chat AI platform | Basic AI features | `npx @digilogiclabs/create-saas-app create web ui-auth-ai text-ai-app --with-ai=text` |
|
|
73
|
-
| `ui-package-test` | Component testing env | Development testing | `npx @digilogiclabs/create-saas-app create web ui-package-test component-test` |
|
|
74
|
-
|
|
75
|
-
#### **📱 Mobile Templates (5)**
|
|
76
|
-
|
|
77
|
-
**💎 Premium Mobile SaaS**
|
|
78
|
-
| Template | Description | Features | Command |
|
|
79
|
-
|----------|-------------|----------|---------|
|
|
80
|
-
| `ui-auth-payments` | **Full Mobile SaaS** | Auth + Payments + Native UI | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments mobile-saas` |
|
|
81
|
-
| `ui-auth-payments-ai` | **📱 Mobile AI SaaS** | Native AI with Voice/Camera | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai ai-mobile-app --with-ai=all` |
|
|
82
|
-
| `ui-auth-payments-ai-rag` | **📱 Mobile Knowledge App** | Offline RAG + Document Scanning | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai-rag knowledge-mobile --with-ai=rag` |
|
|
83
|
-
|
|
84
|
-
**🚀 Mobile Starters**
|
|
85
|
-
| Template | Description | Features | Command |
|
|
86
|
-
|----------|-------------|----------|---------|
|
|
87
|
-
| `base` | React Native + Expo starter | Minimal mobile setup | `npx @digilogiclabs/create-saas-app create mobile base mobile-app` |
|
|
88
|
-
|
|
89
|
-
### **🤖 AI Capabilities Reference**
|
|
90
|
-
|
|
91
|
-
**AI Template Options (`--with-ai`)**
|
|
92
|
-
| Capability | Description | Includes | Best For |
|
|
93
|
-
|------------|-------------|----------|----------|
|
|
94
|
-
| `text` | Text generation & chat | OpenAI GPT, Claude, Gemini | Content creation, chatbots |
|
|
95
|
-
| `audio` | Audio processing & generation | Speech-to-text, text-to-speech, music | Podcasts, music platforms |
|
|
96
|
-
| `video` | Video processing & generation | Video editing, generation, streaming | Video platforms, content creation |
|
|
97
|
-
| `rag` | **🧠 RAG Knowledge System v4.0.0** | Vector search, document processing, Q&A | Knowledge bases, AI assistants |
|
|
98
|
-
| `all` | Complete AI suite | All above capabilities | Full AI platforms |
|
|
99
|
-
|
|
100
|
-
**Available AI Providers (`--ai-provider`)**
|
|
101
|
-
|
|
102
|
-
- `
|
|
103
|
-
- `
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
<
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
--
|
|
123
|
-
--
|
|
124
|
-
--
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
--theme=
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
--
|
|
182
|
-
--
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
--
|
|
191
|
-
--
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
--
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
-
|
|
205
|
-
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
#### **Choose by
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
- **
|
|
218
|
-
- **Mobile
|
|
219
|
-
- **
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
- **
|
|
231
|
-
- **
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
###
|
|
236
|
-
|
|
237
|
-
- **
|
|
238
|
-
- **
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
-
|
|
268
|
-
-
|
|
269
|
-
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
- **
|
|
294
|
-
- **
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
- **
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
- **
|
|
327
|
-
- **
|
|
328
|
-
- **
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
- **
|
|
341
|
-
- **
|
|
342
|
-
- **
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
- **
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
- **
|
|
412
|
-
- **
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
- **
|
|
425
|
-
- **
|
|
426
|
-
- **
|
|
427
|
-
- **
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
```
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
#### **Mobile
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
- **
|
|
440
|
-
- **
|
|
441
|
-
- **
|
|
442
|
-
- **
|
|
443
|
-
|
|
444
|
-
```bash
|
|
445
|
-
npx @digilogiclabs/create-saas-app create mobile
|
|
446
|
-
```
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
- **
|
|
453
|
-
- **
|
|
454
|
-
- **
|
|
455
|
-
- **
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
- **
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
```
|
|
492
|
-
|
|
493
|
-
###
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
```
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
-
|
|
651
|
-
|
|
652
|
-
-
|
|
653
|
-
-
|
|
654
|
-
-
|
|
655
|
-
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
-
|
|
668
|
-
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
-
|
|
672
|
-
-
|
|
673
|
-
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
#
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
--
|
|
704
|
-
--
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
#
|
|
774
|
-
#
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
#
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
#
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
###
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
#
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
#
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
-
|
|
881
|
-
-
|
|
882
|
-
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
1
|
+
# @digilogiclabs/create-saas-app
|
|
2
|
+
|
|
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)
|
|
7
|
+
|
|
8
|
+
## ⚡ **Quick Start - High-Value Templates**
|
|
9
|
+
|
|
10
|
+
Get started instantly with our most popular, production-ready templates:
|
|
11
|
+
|
|
12
|
+
### **🎯 Recommended Templates**
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# 💳 Complete SaaS Foundation (Payments + Auth)
|
|
16
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments my-saas-app
|
|
17
|
+
|
|
18
|
+
# 🤖 AI-Powered SaaS Platform (Text, Audio, Video AI)
|
|
19
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all
|
|
20
|
+
|
|
21
|
+
# 🧠 AI Knowledge Base & RAG System (v4.0.0)
|
|
22
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai-rag knowledge-app --with-ai=rag
|
|
23
|
+
|
|
24
|
+
# 🎵 Audio Streaming SaaS (Music/Podcast Platform)
|
|
25
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform
|
|
26
|
+
|
|
27
|
+
# 🎬 Video Streaming SaaS (Video Platform)
|
|
28
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio
|
|
29
|
+
|
|
30
|
+
# 📱 Mobile AI SaaS (React Native + Expo)
|
|
31
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai-app --with-ai=all
|
|
32
|
+
|
|
33
|
+
# 📱 Mobile RAG Knowledge App
|
|
34
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai-rag knowledge-mobile --with-ai=rag
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## 🚀 Complete Template Reference
|
|
38
|
+
|
|
39
|
+
### **Quick Command Reference**
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Interactive mode (recommended for beginners)
|
|
43
|
+
npx @digilogiclabs/create-saas-app create
|
|
44
|
+
|
|
45
|
+
# Direct command format
|
|
46
|
+
npx @digilogiclabs/create-saas-app create <platform> <template> <project-name> [options]
|
|
47
|
+
|
|
48
|
+
# Get help anytime
|
|
49
|
+
npx @digilogiclabs/create-saas-app --help
|
|
50
|
+
npx @digilogiclabs/create-saas-app create --help
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### **📋 All Available Templates (16 Total)**
|
|
54
|
+
|
|
55
|
+
#### **🌐 Web Templates (11)**
|
|
56
|
+
|
|
57
|
+
**💎 Premium SaaS Templates**
|
|
58
|
+
| Template | Description | Features | Command |
|
|
59
|
+
|----------|-------------|----------|---------|
|
|
60
|
+
| `ui-auth-payments` | **Complete SaaS Foundation** | Auth + Payments + Dashboard | `npx @digilogiclabs/create-saas-app create web ui-auth-payments my-saas` |
|
|
61
|
+
| `ui-auth-payments-ai` | **AI-Powered SaaS Platform** | Full AI Suite (Text, Audio, Video) | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all` |
|
|
62
|
+
| `ui-auth-payments-ai-rag` | **🧠 AI Knowledge Base & RAG** | Smart Document Processing v4.0.0 | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai-rag knowledge-app --with-ai=rag` |
|
|
63
|
+
| `ui-auth-payments-audio` | **🎵 Audio Streaming SaaS** | Music/Podcast Platform | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform` |
|
|
64
|
+
| `ui-auth-payments-video` | **🎬 Video Streaming SaaS** | Video Platform & Studio | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio` |
|
|
65
|
+
|
|
66
|
+
**🚀 Starter Templates**
|
|
67
|
+
| Template | Description | Features | Command |
|
|
68
|
+
|----------|-------------|----------|---------|
|
|
69
|
+
| `base` | Clean Next.js 15 starter | Minimal setup | `npx @digilogiclabs/create-saas-app create web base my-app` |
|
|
70
|
+
| `ui-only` | Component library showcase | Design system | `npx @digilogiclabs/create-saas-app create web ui-only design-system` |
|
|
71
|
+
| `ui-auth` | Authentication flow | Auth + Dashboard | `npx @digilogiclabs/create-saas-app create web ui-auth auth-app` |
|
|
72
|
+
| `ui-auth-ai` | Text & chat AI platform | Basic AI features | `npx @digilogiclabs/create-saas-app create web ui-auth-ai text-ai-app --with-ai=text` |
|
|
73
|
+
| `ui-package-test` | Component testing env | Development testing | `npx @digilogiclabs/create-saas-app create web ui-package-test component-test` |
|
|
74
|
+
|
|
75
|
+
#### **📱 Mobile Templates (5)**
|
|
76
|
+
|
|
77
|
+
**💎 Premium Mobile SaaS**
|
|
78
|
+
| Template | Description | Features | Command |
|
|
79
|
+
|----------|-------------|----------|---------|
|
|
80
|
+
| `ui-auth-payments` | **Full Mobile SaaS** | Auth + Payments + Native UI | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments mobile-saas` |
|
|
81
|
+
| `ui-auth-payments-ai` | **📱 Mobile AI SaaS** | Native AI with Voice/Camera | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai ai-mobile-app --with-ai=all` |
|
|
82
|
+
| `ui-auth-payments-ai-rag` | **📱 Mobile Knowledge App** | Offline RAG + Document Scanning | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai-rag knowledge-mobile --with-ai=rag` |
|
|
83
|
+
|
|
84
|
+
**🚀 Mobile Starters**
|
|
85
|
+
| Template | Description | Features | Command |
|
|
86
|
+
|----------|-------------|----------|---------|
|
|
87
|
+
| `base` | React Native + Expo starter | Minimal mobile setup | `npx @digilogiclabs/create-saas-app create mobile base mobile-app` |
|
|
88
|
+
|
|
89
|
+
### **🤖 AI Capabilities Reference**
|
|
90
|
+
|
|
91
|
+
**AI Template Options (`--with-ai`)**
|
|
92
|
+
| Capability | Description | Includes | Best For |
|
|
93
|
+
|------------|-------------|----------|----------|
|
|
94
|
+
| `text` | Text generation & chat | OpenAI GPT, Claude, Gemini | Content creation, chatbots |
|
|
95
|
+
| `audio` | Audio processing & generation | Speech-to-text, text-to-speech, music | Podcasts, music platforms |
|
|
96
|
+
| `video` | Video processing & generation | Video editing, generation, streaming | Video platforms, content creation |
|
|
97
|
+
| `rag` | **🧠 RAG Knowledge System v4.0.0** | Vector search, document processing, Q&A | Knowledge bases, AI assistants |
|
|
98
|
+
| `all` | Complete AI suite | All above capabilities | Full AI platforms |
|
|
99
|
+
|
|
100
|
+
**Available AI Providers (`--ai-provider`)**
|
|
101
|
+
|
|
102
|
+
- `openai` (default) - GPT-4, DALL-E, Whisper
|
|
103
|
+
- `anthropic` - Claude Sonnet/Haiku
|
|
104
|
+
- `gemini` - Google Gemini Pro
|
|
105
|
+
|
|
106
|
+
### **🛠 CLI Options**
|
|
107
|
+
|
|
108
|
+
#### **Core Arguments**
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
<platform> # web | mobile | both
|
|
112
|
+
<template> # Template name (see table above)
|
|
113
|
+
<project-name> # Your project name (kebab-case recommended)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
#### **Configuration Flags**
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
-a, --auth <provider> # firebase | supabase (default: supabase)
|
|
120
|
+
-d, --database <provider> # supabase | firebase (default: supabase)
|
|
121
|
+
-t, --theme <theme> # default | corporate | startup (default: default)
|
|
122
|
+
-c, --theme-color <color> # blue | green | purple | orange | red | slate (default: blue)
|
|
123
|
+
--default-theme <mode> # light | dark | system (default: system)
|
|
124
|
+
--with-ai [capabilities] # text | audio | video | text,audio | all (for AI templates)
|
|
125
|
+
--ai-provider <provider> # openai | anthropic | gemini (default: openai)
|
|
126
|
+
--no-install # Skip package installation
|
|
127
|
+
--no-git # Skip git initialization
|
|
128
|
+
-y, --yes # Skip interactive prompts
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### **💡 Real-World Examples**
|
|
132
|
+
|
|
133
|
+
#### **🚀 Beginner: Interactive Mode**
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
# Let the CLI guide you through all options
|
|
137
|
+
npx @digilogiclabs/create-saas-app create
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
#### **🎯 Business Use Cases**
|
|
141
|
+
|
|
142
|
+
**💼 SaaS Startup**
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
# Complete SaaS foundation with payments
|
|
146
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments my-startup \
|
|
147
|
+
--theme=startup \
|
|
148
|
+
--theme-color=purple \
|
|
149
|
+
--auth=supabase \
|
|
150
|
+
--database=supabase
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
**🤖 AI Content Platform**
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
# Full AI platform with all capabilities
|
|
157
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai content-ai \
|
|
158
|
+
--with-ai=all \
|
|
159
|
+
--ai-provider=openai \
|
|
160
|
+
--theme=corporate \
|
|
161
|
+
--theme-color=blue
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
**🧠 Knowledge Base & AI Assistant**
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
# RAG-powered knowledge platform
|
|
168
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai-rag knowledge-base \
|
|
169
|
+
--with-ai=rag \
|
|
170
|
+
--ai-provider=anthropic \
|
|
171
|
+
--theme=startup \
|
|
172
|
+
--theme-color=green
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**🎵 Music Streaming Platform**
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
# Audio streaming SaaS like Spotify
|
|
179
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-stream \
|
|
180
|
+
--theme=default \
|
|
181
|
+
--theme-color=orange \
|
|
182
|
+
--auth=supabase
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
**📱 Mobile-First AI App**
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# Native mobile AI app with offline capabilities
|
|
189
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai \
|
|
190
|
+
--with-ai=all \
|
|
191
|
+
--theme=corporate \
|
|
192
|
+
--theme-color=blue \
|
|
193
|
+
--no-git
|
|
194
|
+
|
|
195
|
+
# Cross-platform SaaS with Firebase
|
|
196
|
+
npx @digilogiclabs/create-saas-app create both ui-auth-payments fullstack-saas \
|
|
197
|
+
--auth=firebase \
|
|
198
|
+
--database=firebase \
|
|
199
|
+
--theme=default \
|
|
200
|
+
--default-theme=dark
|
|
201
|
+
|
|
202
|
+
# Quick prototyping (no deps install)
|
|
203
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments prototype \
|
|
204
|
+
--no-install \
|
|
205
|
+
--no-git \
|
|
206
|
+
--yes
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### **🎯 Template Selection Guide**
|
|
210
|
+
|
|
211
|
+
#### **Choose by Use Case**
|
|
212
|
+
|
|
213
|
+
- **Learning/Prototyping**: `base` or `ui-only`
|
|
214
|
+
- **Authentication App**: `ui-auth`
|
|
215
|
+
- **SaaS with Billing**: `ui-auth-payments`
|
|
216
|
+
- **AI Applications**: `ui-auth-payments-ai` or `ui-auth-ai`
|
|
217
|
+
- **Media Platforms**: `ui-auth-payments-audio` or `ui-auth-payments-video`
|
|
218
|
+
- **Mobile Apps**: Mobile versions of above
|
|
219
|
+
- **Full-Stack**: `both` platform with any template
|
|
220
|
+
|
|
221
|
+
#### **Choose by Complexity**
|
|
222
|
+
|
|
223
|
+
1. **Simple**: `base`, `ui-only`
|
|
224
|
+
2. **Medium**: `ui-auth`, `ui-auth-payments`
|
|
225
|
+
3. **Advanced**: `ui-auth-payments-ai`, `ui-auth-payments-audio`, `ui-auth-payments-video`
|
|
226
|
+
|
|
227
|
+
#### **Choose by Platform**
|
|
228
|
+
|
|
229
|
+
- **Web Only**: Use `web` platform
|
|
230
|
+
- **Mobile Only**: Use `mobile` platform
|
|
231
|
+
- **Universal**: Use `both` platform (web + mobile)
|
|
232
|
+
|
|
233
|
+
## 🎉 What's New in v1.13.0
|
|
234
|
+
|
|
235
|
+
### 🤖 **Complete AI Integration**
|
|
236
|
+
|
|
237
|
+
- **Ready-to-Use Components** - AIChat, AITextGenerator, AIAudioGenerator, AIVideoGenerator now available
|
|
238
|
+
- **Client-Side Configuration** - NEXT*PUBLIC* environment variables for seamless setup
|
|
239
|
+
- **Configuration Validation** - AISetupStatus component guides users through setup
|
|
240
|
+
- **Enhanced TypeScript** - Complete type definitions and IntelliSense support
|
|
241
|
+
|
|
242
|
+
### 🎨 **Enhanced UI Library**
|
|
243
|
+
|
|
244
|
+
- **6 New Components** - Switch, Slider, Textarea, Accordion, Breadcrumbs, EmptyState
|
|
245
|
+
- **Fixed Glassmorphism API** - Proper `border` and `accent` properties now available
|
|
246
|
+
- **Cross-Platform Ready** - Single codebase supports Next.js + React Native/Expo
|
|
247
|
+
- **Node.js 18+ Support** - Broader compatibility for more environments
|
|
248
|
+
|
|
249
|
+
### 🔐 **Expanded Authentication**
|
|
250
|
+
|
|
251
|
+
- **12 OAuth Providers** - Added Microsoft, LinkedIn, Spotify, Twitch, Slack, Notion
|
|
252
|
+
- **Enhanced User Types** - Comprehensive profiles with extended role system
|
|
253
|
+
- **Beautiful Provider UI** - Proper branding and SVG icons for all providers
|
|
254
|
+
|
|
255
|
+
### 💳 **Improved Payments**
|
|
256
|
+
|
|
257
|
+
- **Enhanced Type System** - Better TypeScript definitions and error handling
|
|
258
|
+
- **Future-Ready Foundation** - Prepared for PayPal, Apple Pay, and analytics features
|
|
259
|
+
|
|
260
|
+
## 🚀 Quick Start
|
|
261
|
+
|
|
262
|
+
```bash
|
|
263
|
+
# Interactive mode (recommended)
|
|
264
|
+
npx @digilogiclabs/create-saas-app create
|
|
265
|
+
|
|
266
|
+
# Or create directly with popular templates
|
|
267
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai my-ai-saas --with-ai=all
|
|
268
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai-app --with-ai=all
|
|
269
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments saas-app
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
> 💡 **New to the CLI?** See the complete [Template Generator Guide](#-template-generator-guide) above for all options and examples.
|
|
273
|
+
|
|
274
|
+
## ⚡ What You Get
|
|
275
|
+
|
|
276
|
+
### 🤖 **AI-First Development**
|
|
277
|
+
|
|
278
|
+
- **Claude CLI integration** - AI assistant configured for your specific template
|
|
279
|
+
- **Template-aware context** - AI understands your packages and architecture
|
|
280
|
+
- **Auto-generated documentation** - Context files and development guides
|
|
281
|
+
- **AI-powered components** - Text, audio, and video generation ready to use
|
|
282
|
+
|
|
283
|
+
### 🏗️ **Production-Ready Stack**
|
|
284
|
+
|
|
285
|
+
- **Next.js 15.3** with App Router and Server Components
|
|
286
|
+
- **TypeScript** throughout with strict typing
|
|
287
|
+
- **Supabase** for database, auth, and real-time features
|
|
288
|
+
- **Stripe** for payments and subscriptions
|
|
289
|
+
- **Tailwind CSS v4** with glassmorphism design system
|
|
290
|
+
|
|
291
|
+
### 🎯 **Developer Experience**
|
|
292
|
+
|
|
293
|
+
- **Setup guides** with copy-paste configurations
|
|
294
|
+
- **Deployment guides** for Vercel, Netlify, Railway, and Docker
|
|
295
|
+
- **Environment validation** and troubleshooting
|
|
296
|
+
- **Package documentation** and code examples
|
|
297
|
+
|
|
298
|
+
## 🎨 Template Gallery
|
|
299
|
+
|
|
300
|
+
> 📋 **Quick Reference?** See the [Template Generator Guide](#-template-generator-guide) at the top for a complete table of all templates and commands.
|
|
301
|
+
|
|
302
|
+
Choose from **12 production-ready templates** across web and mobile platforms:
|
|
303
|
+
|
|
304
|
+
### 🌐 **Web Templates (9 Available)**
|
|
305
|
+
|
|
306
|
+
#### **Core Templates**
|
|
307
|
+
|
|
308
|
+
##### **Base Template** (`base`)
|
|
309
|
+
|
|
310
|
+
Clean Next.js 15 starter with minimal dependencies
|
|
311
|
+
|
|
312
|
+
- **Next.js 15.3** - App Router with Server Components
|
|
313
|
+
- **TypeScript** - Strict typing throughout
|
|
314
|
+
- **Tailwind CSS v4** - Modern utility-first styling
|
|
315
|
+
- **Essential setup** - Perfect foundation for custom builds
|
|
316
|
+
|
|
317
|
+
```bash
|
|
318
|
+
npx @digilogiclabs/create-saas-app create web base my-app
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
##### **UI Only Template** (`ui-only`)
|
|
322
|
+
|
|
323
|
+
Components library showcase without authentication
|
|
324
|
+
|
|
325
|
+
- **Component gallery** - All @digilogiclabs/saas-factory-ui components
|
|
326
|
+
- **Design system** - Glassmorphism and modern patterns
|
|
327
|
+
- **No auth required** - Perfect for design system demos
|
|
328
|
+
- **Storybook-style** - Interactive component documentation
|
|
329
|
+
|
|
330
|
+
```bash
|
|
331
|
+
npx @digilogiclabs/create-saas-app create web ui-only design-system
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
#### **Authentication Templates**
|
|
335
|
+
|
|
336
|
+
##### **UI + Auth** (`ui-auth`)
|
|
337
|
+
|
|
338
|
+
Modern authentication flow with beautiful UI
|
|
339
|
+
|
|
340
|
+
- **User management** - Sign up, login, profile management
|
|
341
|
+
- **12 OAuth providers** - Google, GitHub, Microsoft, LinkedIn, Spotify, and more
|
|
342
|
+
- **Protected routes** - Authentication-gated content
|
|
343
|
+
- **Email verification** - Secure account activation
|
|
344
|
+
|
|
345
|
+
```bash
|
|
346
|
+
npx @digilogiclabs/create-saas-app create web ui-auth auth-app
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
##### **UI + Auth + Payments** (`ui-auth-payments`)
|
|
350
|
+
|
|
351
|
+
Complete SaaS foundation with billing
|
|
352
|
+
|
|
353
|
+
- **Subscription management** - Stripe integration with webhooks
|
|
354
|
+
- **User dashboards** - Account management and billing portal
|
|
355
|
+
- **Team features** - Multi-user support and permissions
|
|
356
|
+
- **Analytics** - Revenue and usage tracking
|
|
357
|
+
|
|
358
|
+
```bash
|
|
359
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments saas-platform
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
#### **AI-Powered Templates**
|
|
363
|
+
|
|
364
|
+
##### **AI + Auth** (`ui-auth-ai`)
|
|
365
|
+
|
|
366
|
+
Text and chat AI integration platform
|
|
367
|
+
|
|
368
|
+
- **Text generation** - OpenAI GPT-4 integration
|
|
369
|
+
- **AI chat interface** - Interactive conversation UI
|
|
370
|
+
- **Content management** - Save and organize AI outputs
|
|
371
|
+
- **Usage tracking** - Monitor API consumption
|
|
372
|
+
|
|
373
|
+
```bash
|
|
374
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-ai text-ai-app --with-ai=text
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
##### **AI + Auth + Payments** (`ui-auth-payments-ai`)
|
|
378
|
+
|
|
379
|
+
Full AI SaaS platform with multi-modal generation
|
|
380
|
+
|
|
381
|
+
- **Multi-modal AI** - Text, audio, and video generation
|
|
382
|
+
- **AI Dashboard** - Generation history and usage analytics
|
|
383
|
+
- **Smart UI** - Tabbed interface for different AI tools
|
|
384
|
+
- **Real-time features** - Live generation status and updates
|
|
385
|
+
|
|
386
|
+
```bash
|
|
387
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
#### **Media Templates**
|
|
391
|
+
|
|
392
|
+
##### **Audio SaaS** (`ui-auth-payments-audio`)
|
|
393
|
+
|
|
394
|
+
Music streaming and audio processing platform
|
|
395
|
+
|
|
396
|
+
- **Audio streaming** - Playlist management and playback
|
|
397
|
+
- **Audio generation** - AI-powered voice synthesis
|
|
398
|
+
- **Waveform visualization** - Real-time audio analysis
|
|
399
|
+
- **Offline support** - Cached playback and PWA features
|
|
400
|
+
|
|
401
|
+
```bash
|
|
402
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
##### **Video SaaS** (`ui-auth-payments-video`)
|
|
406
|
+
|
|
407
|
+
Video streaming and media platform
|
|
408
|
+
|
|
409
|
+
- **Video streaming** - Quality selection and adaptive bitrate
|
|
410
|
+
- **Video generation** - AI-powered video creation
|
|
411
|
+
- **Content management** - Upload, process, and organize videos
|
|
412
|
+
- **Analytics dashboard** - View counts and engagement metrics
|
|
413
|
+
|
|
414
|
+
```bash
|
|
415
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
#### **Development Templates**
|
|
419
|
+
|
|
420
|
+
##### **UI Package Test** (`ui-package-test`)
|
|
421
|
+
|
|
422
|
+
Component testing environment for package development
|
|
423
|
+
|
|
424
|
+
- **Component testing** - Isolated testing environment
|
|
425
|
+
- **Package validation** - Test UI components before release
|
|
426
|
+
- **Development tools** - Hot reload and debugging setup
|
|
427
|
+
- **Documentation** - Auto-generated component docs
|
|
428
|
+
|
|
429
|
+
```bash
|
|
430
|
+
npx @digilogiclabs/create-saas-app create web ui-package-test component-test
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
### 📱 **Mobile Templates (5 Available)**
|
|
434
|
+
|
|
435
|
+
#### **Base Mobile** (`base`)
|
|
436
|
+
|
|
437
|
+
React Native + Expo starter for mobile development
|
|
438
|
+
|
|
439
|
+
- **Expo 50** - Modern React Native development platform
|
|
440
|
+
- **TypeScript** - Full type safety for mobile
|
|
441
|
+
- **Navigation** - React Navigation v6 setup
|
|
442
|
+
- **Cross-platform** - iOS and Android support
|
|
443
|
+
|
|
444
|
+
```bash
|
|
445
|
+
npx @digilogiclabs/create-saas-app create mobile base mobile-app
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
#### **Mobile SaaS** (`ui-auth-payments`)
|
|
449
|
+
|
|
450
|
+
Full mobile SaaS platform with native UI v0.27.0
|
|
451
|
+
|
|
452
|
+
- **Native UI components** - 240+ components with enhanced mobile features
|
|
453
|
+
- **Authentication** - Supabase Auth v1.0.4 with biometric support
|
|
454
|
+
- **Payments** - Stripe React Native v0.28.0 integration
|
|
455
|
+
- **Advanced features** - Onboarding, tours, offline support, haptic feedback
|
|
456
|
+
- **Updated Dependencies** - Latest package versions for stability
|
|
457
|
+
|
|
458
|
+
```bash
|
|
459
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments mobile-saas
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
#### **Mobile AI SaaS** (`ui-auth-payments-ai`)
|
|
463
|
+
|
|
464
|
+
Complete mobile AI platform with generation capabilities
|
|
465
|
+
|
|
466
|
+
- **AI Generation Suite** - Text, audio, and video AI generation
|
|
467
|
+
- **Native AI Components** - AITextGenerator, AIAudioGenerator, AIVideoGenerator, AIChat
|
|
468
|
+
- **AI Dashboard** - Usage statistics and generation history
|
|
469
|
+
- **Multi-modal AI** - OpenAI, ElevenLabs, Replicate integration
|
|
470
|
+
- **Mobile-optimized** - Touch-friendly AI interfaces with haptic feedback
|
|
471
|
+
- **Offline AI Cache** - Cached responses for better mobile experience
|
|
472
|
+
- **Enhanced TypeScript** - bundler moduleResolution for better compatibility
|
|
473
|
+
|
|
474
|
+
```bash
|
|
475
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai ai-mobile-app --with-ai=all
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
#### **Mobile RAG Knowledge App** (`ui-auth-payments-ai-rag`)
|
|
479
|
+
|
|
480
|
+
Advanced mobile knowledge base with RAG capabilities
|
|
481
|
+
|
|
482
|
+
- **RAG Integration** - Vector search and document processing
|
|
483
|
+
- **Offline RAG** - Local knowledge base for mobile-first experience
|
|
484
|
+
- **Document Scanning** - Native camera integration for document capture
|
|
485
|
+
- **Knowledge Management** - Organize and search through personal knowledge
|
|
486
|
+
- **AI-Powered Q&A** - Intelligent question answering from documents
|
|
487
|
+
- **Complete Mobile Setup** - All required config files and dependencies
|
|
488
|
+
|
|
489
|
+
```bash
|
|
490
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai-rag knowledge-mobile --with-ai=rag
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
### 🚀 **Cross-Platform Templates**
|
|
494
|
+
|
|
495
|
+
#### **Full Stack Platform** (`ui-auth-payments`)
|
|
496
|
+
|
|
497
|
+
Web + Mobile SaaS platform
|
|
498
|
+
|
|
499
|
+
- **Shared codebase** - Unified components and logic
|
|
500
|
+
- **Web dashboard** - Full-featured admin interface
|
|
501
|
+
- **Mobile app** - Native mobile experience
|
|
502
|
+
- **Real-time sync** - Cross-platform data synchronization
|
|
503
|
+
|
|
504
|
+
```bash
|
|
505
|
+
npx @digilogiclabs/create-saas-app create both ui-auth-payments fullstack-platform
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
#### **AI Full Stack** (`ui-auth-payments-ai`)
|
|
509
|
+
|
|
510
|
+
Web + Mobile AI platform
|
|
511
|
+
|
|
512
|
+
- **AI everywhere** - Consistent AI features across platforms
|
|
513
|
+
- **Mobile-optimized** - Touch-friendly AI interfaces
|
|
514
|
+
- **Cloud sync** - AI generations sync across devices
|
|
515
|
+
- **Offline capable** - Cached AI responses for mobile
|
|
516
|
+
|
|
517
|
+
```bash
|
|
518
|
+
npx @digilogiclabs/create-saas-app create both ui-auth-payments-ai ai-fullstack --with-ai=all
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
## 🤖 AI Development Workflow
|
|
522
|
+
|
|
523
|
+
Every template includes **Claude AI integration** for enhanced development:
|
|
524
|
+
|
|
525
|
+
### 🎯 **Instant AI Setup**
|
|
526
|
+
|
|
527
|
+
```bash
|
|
528
|
+
# Create your app
|
|
529
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai my-app --with-ai=all
|
|
530
|
+
|
|
531
|
+
# Navigate to setup
|
|
532
|
+
cd my-app && open http://localhost:3000/dev-setup
|
|
533
|
+
|
|
534
|
+
# Copy .claude configuration (auto-generated)
|
|
535
|
+
# Copy context.md documentation (auto-generated)
|
|
536
|
+
|
|
537
|
+
# Start coding with AI assistance
|
|
538
|
+
claude "Help me add a new AI feature"
|
|
539
|
+
claude "Create a user profile component"
|
|
540
|
+
claude "Debug this authentication error"
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
### 📚 **Smart AI Context**
|
|
544
|
+
|
|
545
|
+
Each template generates intelligent context for Claude:
|
|
546
|
+
|
|
547
|
+
- **Package integration guides** - How to use each Digi Logic Labs package
|
|
548
|
+
- **Architecture documentation** - Next.js patterns and best practices
|
|
549
|
+
- **Code examples** - Common patterns for auth, payments, AI
|
|
550
|
+
- **Environment setup** - Configuration and troubleshooting
|
|
551
|
+
|
|
552
|
+
### ⚡ **AI-Powered Components** (v3.1.1)
|
|
553
|
+
|
|
554
|
+
Templates with `--with-ai` include complete component library:
|
|
555
|
+
|
|
556
|
+
```typescript
|
|
557
|
+
import {
|
|
558
|
+
AIProvider,
|
|
559
|
+
AIChat,
|
|
560
|
+
AITextGenerator,
|
|
561
|
+
AIAudioGenerator,
|
|
562
|
+
AIVideoGenerator,
|
|
563
|
+
AISetupStatus,
|
|
564
|
+
getAIConfigFromEnv
|
|
565
|
+
} from '@digilogiclabs/saas-factory-ai'
|
|
566
|
+
|
|
567
|
+
function App() {
|
|
568
|
+
const config = getAIConfigFromEnv()
|
|
569
|
+
|
|
570
|
+
return (
|
|
571
|
+
<AIProvider config={config}>
|
|
572
|
+
{/* Configuration validation */}
|
|
573
|
+
<AISetupStatus />
|
|
574
|
+
|
|
575
|
+
{/* Text generation */}
|
|
576
|
+
<AITextGenerator
|
|
577
|
+
placeholder="Generate blog content..."
|
|
578
|
+
templates={['Blog post', 'Email', 'Social media']}
|
|
579
|
+
showWordCount={true}
|
|
580
|
+
maxLength={2000}
|
|
581
|
+
/>
|
|
582
|
+
|
|
583
|
+
{/* AI chat interface */}
|
|
584
|
+
<AIChat
|
|
585
|
+
placeholder="Ask me anything..."
|
|
586
|
+
showTypingIndicator={true}
|
|
587
|
+
enableFileUpload={true}
|
|
588
|
+
maxMessages={50}
|
|
589
|
+
/>
|
|
590
|
+
|
|
591
|
+
{/* Audio generation */}
|
|
592
|
+
<AIAudioGenerator
|
|
593
|
+
placeholder="Describe the audio..."
|
|
594
|
+
supportedFormats={['mp3', 'wav', 'ogg']}
|
|
595
|
+
showWaveform={true}
|
|
596
|
+
maxDuration={300}
|
|
597
|
+
/>
|
|
598
|
+
|
|
599
|
+
{/* Video generation */}
|
|
600
|
+
<AIVideoGenerator
|
|
601
|
+
placeholder="Describe the video..."
|
|
602
|
+
supportedFormats={['mp4', 'webm']}
|
|
603
|
+
resolution="1080p"
|
|
604
|
+
showPreview={true}
|
|
605
|
+
maxDuration={60}
|
|
606
|
+
/>
|
|
607
|
+
</AIProvider>
|
|
608
|
+
)
|
|
609
|
+
}
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
## 🚀 Deployment Made Simple
|
|
613
|
+
|
|
614
|
+
Every template includes **comprehensive deployment guides**:
|
|
615
|
+
|
|
616
|
+
### 📋 **Multiple Hosting Options**
|
|
617
|
+
|
|
618
|
+
#### **Vercel (Recommended)**
|
|
619
|
+
|
|
620
|
+
```bash
|
|
621
|
+
# One-command deployment
|
|
622
|
+
vercel --prod
|
|
623
|
+
|
|
624
|
+
# Automatic HTTPS, edge functions, preview deployments
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
#### **Netlify**
|
|
628
|
+
|
|
629
|
+
```bash
|
|
630
|
+
# Git-based deployment with form handling
|
|
631
|
+
npm run build && netlify deploy --prod
|
|
632
|
+
```
|
|
633
|
+
|
|
634
|
+
#### **Railway**
|
|
635
|
+
|
|
636
|
+
```bash
|
|
637
|
+
# Full-stack with integrated database
|
|
638
|
+
railway init && railway up
|
|
639
|
+
```
|
|
640
|
+
|
|
641
|
+
#### **Docker + Cloud Run**
|
|
642
|
+
|
|
643
|
+
```bash
|
|
644
|
+
# Containerized deployment with auto-scaling
|
|
645
|
+
gcloud run deploy --source .
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
### ✅ **Pre-Deployment Checklist**
|
|
649
|
+
|
|
650
|
+
Built-in validation ensures your app is deployment-ready:
|
|
651
|
+
|
|
652
|
+
- ✅ Environment variables configured
|
|
653
|
+
- ✅ Database tables created and RLS enabled
|
|
654
|
+
- ✅ Stripe webhooks configured (if using payments)
|
|
655
|
+
- ✅ Build succeeds locally
|
|
656
|
+
- ✅ Tests pass
|
|
657
|
+
|
|
658
|
+
## 🎛️ Advanced Configuration
|
|
659
|
+
|
|
660
|
+
### 🤖 **AI Capabilities**
|
|
661
|
+
|
|
662
|
+
```bash
|
|
663
|
+
# Enable specific AI capabilities
|
|
664
|
+
--with-ai=text # Text generation only
|
|
665
|
+
--with-ai=audio # Audio generation only
|
|
666
|
+
--with-ai=video # Video generation only
|
|
667
|
+
--with-ai=text,audio # Text and audio
|
|
668
|
+
--with-ai=all # All AI capabilities
|
|
669
|
+
|
|
670
|
+
# Specify AI provider
|
|
671
|
+
--ai-provider=openai # OpenAI (default)
|
|
672
|
+
--ai-provider=anthropic # Anthropic Claude
|
|
673
|
+
--ai-provider=gemini # Google Gemini
|
|
674
|
+
```
|
|
675
|
+
|
|
676
|
+
### 🎨 **Theming & Styling**
|
|
677
|
+
|
|
678
|
+
```bash
|
|
679
|
+
# Theme options
|
|
680
|
+
--theme=default # Clean and modern
|
|
681
|
+
--theme=corporate # Professional blue
|
|
682
|
+
--theme=startup # Bold purple
|
|
683
|
+
|
|
684
|
+
# Theme colors
|
|
685
|
+
--theme-color=blue # Blue accents (default)
|
|
686
|
+
--theme-color=purple # Purple accents
|
|
687
|
+
--theme-color=green # Green accents
|
|
688
|
+
|
|
689
|
+
# Default theme mode
|
|
690
|
+
--default-theme=system # Follow system (default)
|
|
691
|
+
--default-theme=light # Always light
|
|
692
|
+
--default-theme=dark # Always dark
|
|
693
|
+
```
|
|
694
|
+
|
|
695
|
+
### 🔐 **Service Providers**
|
|
696
|
+
|
|
697
|
+
```bash
|
|
698
|
+
# Authentication
|
|
699
|
+
--auth=supabase # Supabase Auth (default)
|
|
700
|
+
--auth=firebase # Firebase Auth
|
|
701
|
+
|
|
702
|
+
# Database
|
|
703
|
+
--database=supabase # Supabase (default)
|
|
704
|
+
--database=firebase # Firebase Firestore
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
## 📦 Package Ecosystem
|
|
708
|
+
|
|
709
|
+
### 🎨 **UI & Design** (v0.27.1)
|
|
710
|
+
|
|
711
|
+
- **@digilogiclabs/saas-factory-ui** - 240+ components with mobile-first design
|
|
712
|
+
- **75% Component Increase** - From 140+ to 240+ components in v0.22.0
|
|
713
|
+
- **Cross-Platform Support** - Single codebase for Next.js + React Native/Expo
|
|
714
|
+
- **Native Mobile Components** - AppShell, BottomTabBar, NativeTour, VirtualScrollList
|
|
715
|
+
- **Advanced Features** - Haptic feedback, gesture support, offline capabilities
|
|
716
|
+
- **Enhanced Glassmorphism** - Fixed API with proper `border` and `accent` properties
|
|
717
|
+
- **Next.js 15.3** - App Router with Server Components
|
|
718
|
+
- **Tailwind CSS v4** - Design tokens and utility classes
|
|
719
|
+
- **Node.js 18+ Support** - Broader compatibility range
|
|
720
|
+
|
|
721
|
+
### 🔐 **Authentication** (v1.0.5)
|
|
722
|
+
|
|
723
|
+
- **@digilogiclabs/saas-factory-auth** - Enhanced Supabase Auth integration
|
|
724
|
+
- **12 OAuth Providers** - Google, GitHub, Microsoft, LinkedIn, Spotify, Twitch, Slack, Notion + more
|
|
725
|
+
- **Enhanced TypeScript Types** - Comprehensive user profiles and metadata
|
|
726
|
+
- **Beautiful UI Components** - Proper branding and SVG icons for all providers
|
|
727
|
+
- **Extended User Roles** - owner, editor, viewer, contributor, manager, developer, analyst, support
|
|
728
|
+
- **Row Level Security** - Database-level permissions
|
|
729
|
+
- **Email verification** - Secure account management
|
|
730
|
+
|
|
731
|
+
### 💳 **Payments** (v1.2.6)
|
|
732
|
+
|
|
733
|
+
- **@digilogiclabs/saas-factory-payments** - Enhanced Stripe integration
|
|
734
|
+
- **Improved Type System** - Better TypeScript definitions with cross-platform compatibility
|
|
735
|
+
- **Enhanced Error Handling** - Expanded error types for comprehensive management
|
|
736
|
+
- **Better Subscription Management** - Enhanced types with additional compatibility fields
|
|
737
|
+
- **Future-Ready Architecture** - Foundation for PayPal, Apple Pay, and analytics
|
|
738
|
+
- **Webhook handling** - Secure payment event processing
|
|
739
|
+
- **Customer portal** - Self-service billing management
|
|
740
|
+
|
|
741
|
+
### 🤖 **AI Platform** (v3.1.1)
|
|
742
|
+
|
|
743
|
+
- **@digilogiclabs/saas-factory-ai** - Complete React component library
|
|
744
|
+
- **Ready-to-Use Components** - AIChat, AITextGenerator, AIAudioGenerator, AIVideoGenerator, AIProvider
|
|
745
|
+
- **@digilogiclabs/saas-factory-ai-types** - Complete TypeScript definitions
|
|
746
|
+
- **Client-Side Configuration** - NEXT*PUBLIC* environment variable support
|
|
747
|
+
- **Configuration Validation** - AISetupStatus component and validateAIConfig() helper
|
|
748
|
+
- **Environment Helpers** - getAIConfigFromEnv() for seamless setup
|
|
749
|
+
- **OpenAI integration** - GPT-4 for text and audio
|
|
750
|
+
- **ElevenLabs integration** - High-quality voice synthesis
|
|
751
|
+
- **Replicate integration** - Video and image generation
|
|
752
|
+
|
|
753
|
+
## 🛠️ Command Reference
|
|
754
|
+
|
|
755
|
+
### 📋 **Create Command**
|
|
756
|
+
|
|
757
|
+
```bash
|
|
758
|
+
npx @digilogiclabs/create-saas-app create <platform> [template] [name] [options]
|
|
759
|
+
|
|
760
|
+
# Arguments
|
|
761
|
+
platform # web, mobile, or both
|
|
762
|
+
template # ui-auth-payments-ai, ui-auth-payments, ui-auth, etc.
|
|
763
|
+
name # your-project-name
|
|
764
|
+
|
|
765
|
+
# Options
|
|
766
|
+
-a, --auth <provider> # firebase, supabase
|
|
767
|
+
-d, --database <provider> # supabase, firebase
|
|
768
|
+
-t, --theme <theme> # default, corporate, startup
|
|
769
|
+
-c, --theme-color <color> # blue, green, purple, orange, red, slate
|
|
770
|
+
--default-theme <mode> # light, dark, system
|
|
771
|
+
--with-ai [capabilities] # text,audio,video or all
|
|
772
|
+
--ai-provider <provider> # openai, anthropic, gemini
|
|
773
|
+
--no-install # Skip package installation
|
|
774
|
+
--no-git # Skip git initialization
|
|
775
|
+
-y, --yes # Skip interactive prompts
|
|
776
|
+
```
|
|
777
|
+
|
|
778
|
+
### ➕ **Add Features** (Coming Soon)
|
|
779
|
+
|
|
780
|
+
```bash
|
|
781
|
+
# Add features to existing projects
|
|
782
|
+
npx @digilogiclabs/create-saas-app add billing --provider=stripe
|
|
783
|
+
npx @digilogiclabs/create-saas-app add analytics --provider=mixpanel
|
|
784
|
+
npx @digilogiclabs/create-saas-app add ai --capabilities=text,audio
|
|
785
|
+
```
|
|
786
|
+
|
|
787
|
+
### 🔄 **Update Command** (Coming Soon)
|
|
788
|
+
|
|
789
|
+
```bash
|
|
790
|
+
# Check for package updates
|
|
791
|
+
npx @digilogiclabs/create-saas-app update --check
|
|
792
|
+
|
|
793
|
+
# Update all Digi Logic Labs packages
|
|
794
|
+
npx @digilogiclabs/create-saas-app update
|
|
795
|
+
```
|
|
796
|
+
|
|
797
|
+
## 🌟 Examples
|
|
798
|
+
|
|
799
|
+
### 🤖 **AI-Powered SaaS**
|
|
800
|
+
|
|
801
|
+
```bash
|
|
802
|
+
# Full AI platform with all capabilities
|
|
803
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai \
|
|
804
|
+
my-ai-platform \
|
|
805
|
+
--with-ai=all \
|
|
806
|
+
--ai-provider=openai \
|
|
807
|
+
--theme=startup \
|
|
808
|
+
--theme-color=purple
|
|
809
|
+
```
|
|
810
|
+
|
|
811
|
+
### 🎵 **Music Streaming Platform**
|
|
812
|
+
|
|
813
|
+
```bash
|
|
814
|
+
# Audio platform with Supabase and corporate theme
|
|
815
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio \
|
|
816
|
+
music-streaming \
|
|
817
|
+
--auth=supabase \
|
|
818
|
+
--database=supabase \
|
|
819
|
+
--theme=corporate \
|
|
820
|
+
--theme-color=blue
|
|
821
|
+
```
|
|
822
|
+
|
|
823
|
+
### 🎬 **Video Creation Studio**
|
|
824
|
+
|
|
825
|
+
```bash
|
|
826
|
+
# Video platform with AI generation capabilities
|
|
827
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video \
|
|
828
|
+
video-studio \
|
|
829
|
+
--with-ai=video \
|
|
830
|
+
--ai-provider=replicate \
|
|
831
|
+
--theme=startup \
|
|
832
|
+
--default-theme=dark
|
|
833
|
+
```
|
|
834
|
+
|
|
835
|
+
## 📚 Getting Started Guide
|
|
836
|
+
|
|
837
|
+
### 1. **Create Your App**
|
|
838
|
+
|
|
839
|
+
```bash
|
|
840
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai my-saas --with-ai=all
|
|
841
|
+
cd my-saas
|
|
842
|
+
```
|
|
843
|
+
|
|
844
|
+
### 2. **Follow Setup Guide**
|
|
845
|
+
|
|
846
|
+
```bash
|
|
847
|
+
npm run dev
|
|
848
|
+
# Open http://localhost:3000/setup
|
|
849
|
+
# Configure Supabase, Stripe, and AI providers
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
### 3. **Set Up Development Workflow**
|
|
853
|
+
|
|
854
|
+
```bash
|
|
855
|
+
# Visit http://localhost:3000/dev-setup
|
|
856
|
+
# Copy .claude configuration
|
|
857
|
+
# Copy context.md documentation
|
|
858
|
+
# Install Claude CLI: npm install -g @anthropic-ai/claude-cli
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
### 4. **Start Building with AI**
|
|
862
|
+
|
|
863
|
+
```bash
|
|
864
|
+
claude "Help me add a user profile page"
|
|
865
|
+
claude "Create a subscription management component"
|
|
866
|
+
claude "Add error handling to the payment flow"
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
### 5. **Deploy to Production**
|
|
870
|
+
|
|
871
|
+
```bash
|
|
872
|
+
# Follow deployment guide at /dev-setup
|
|
873
|
+
vercel --prod # One-command deployment
|
|
874
|
+
```
|
|
875
|
+
|
|
876
|
+
## 🔧 Development
|
|
877
|
+
|
|
878
|
+
### 📋 **Requirements**
|
|
879
|
+
|
|
880
|
+
- **Node.js**: 18.0.0 or higher
|
|
881
|
+
- **Package Manager**: npm, yarn, or pnpm
|
|
882
|
+
- **Git**: For repository initialization
|
|
883
|
+
|
|
884
|
+
### 🛠️ **Local Development**
|
|
885
|
+
|
|
886
|
+
```bash
|
|
887
|
+
# Clone repository
|
|
888
|
+
git clone https://github.com/DigiLogicLabs/create-saas-app.git
|
|
889
|
+
cd create-saas-app
|
|
890
|
+
|
|
891
|
+
# Install dependencies
|
|
892
|
+
npm install
|
|
893
|
+
|
|
894
|
+
# Build CLI
|
|
895
|
+
npm run build
|
|
896
|
+
|
|
897
|
+
# Test locally
|
|
898
|
+
node bin/index.js create web ui-auth-payments-ai test-app --with-ai=all
|
|
899
|
+
```
|
|
900
|
+
|
|
901
|
+
## 🐛 Troubleshooting
|
|
902
|
+
|
|
903
|
+
### ❓ **Common Issues**
|
|
904
|
+
|
|
905
|
+
#### CLI Command Not Found
|
|
906
|
+
|
|
907
|
+
```bash
|
|
908
|
+
# Use npx (recommended)
|
|
909
|
+
npx @digilogiclabs/create-saas-app
|
|
910
|
+
|
|
911
|
+
# Or install globally
|
|
912
|
+
npm install -g @digilogiclabs/create-saas-app
|
|
913
|
+
```
|
|
914
|
+
|
|
915
|
+
#### Template Generation Fails
|
|
916
|
+
|
|
917
|
+
```bash
|
|
918
|
+
# Check Node.js version (18.0.0+ required)
|
|
919
|
+
node --version
|
|
920
|
+
|
|
921
|
+
# Clear npm cache
|
|
922
|
+
npm cache clean --force
|
|
923
|
+
|
|
924
|
+
# Try with --no-install flag
|
|
925
|
+
npx @digilogiclabs/create-saas-app create web ui-auth test-app --no-install
|
|
926
|
+
```
|
|
927
|
+
|
|
928
|
+
#### Environment Variables Issues
|
|
929
|
+
|
|
930
|
+
```bash
|
|
931
|
+
# Check setup guide in your app
|
|
932
|
+
open http://localhost:3000/setup
|
|
933
|
+
|
|
934
|
+
# Copy environment variables from setup page
|
|
935
|
+
# Verify all required services are configured
|
|
936
|
+
```
|
|
937
|
+
|
|
938
|
+
#### AI Integration Issues
|
|
939
|
+
|
|
940
|
+
```bash
|
|
941
|
+
# Verify AI API keys in .env.local
|
|
942
|
+
OPENAI_API_KEY=your_openai_key
|
|
943
|
+
ELEVENLABS_API_KEY=your_elevenlabs_key
|
|
944
|
+
REPLICATE_API_TOKEN=your_replicate_token
|
|
945
|
+
|
|
946
|
+
# Check AI setup guide
|
|
947
|
+
open http://localhost:3000/dev-setup
|
|
948
|
+
```
|
|
949
|
+
|
|
950
|
+
## 📄 License
|
|
951
|
+
|
|
952
|
+
MIT © [Digi Logic Labs](https://digilogiclabs.com)
|
|
953
|
+
|
|
954
|
+
## 🆘 Support & Community
|
|
955
|
+
|
|
956
|
+
- 💬 **Discord**: [Join our community](https://discord.gg/digilogiclabs)
|
|
957
|
+
- 📖 **Documentation**: [docs.digilogiclabs.com](https://docs.digilogiclabs.com)
|
|
958
|
+
- 🐛 **Issues**: [GitHub Issues](https://github.com/DigiLogicLabs/create-saas-app/issues)
|
|
959
|
+
- 💡 **Feature Requests**: [GitHub Discussions](https://github.com/DigiLogicLabs/create-saas-app/discussions)
|
|
960
|
+
- 📧 **Email**: support@digilogiclabs.com
|
|
961
|
+
|
|
962
|
+
## 🚀 What's Next?
|
|
963
|
+
|
|
964
|
+
- 📱 **Enhanced Mobile Templates** - Additional React Native templates with specialized features
|
|
965
|
+
- 🔌 **Plugin System** - Extensible architecture for custom features
|
|
966
|
+
- 🤖 **More AI Providers** - Anthropic, Google, and custom model support
|
|
967
|
+
- 📊 **Analytics Integration** - Built-in analytics and monitoring
|
|
968
|
+
- 🌍 **Internationalization** - Multi-language support out of the box
|
|
969
|
+
- 🎨 **Theme Marketplace** - Community-contributed themes and components
|
|
970
|
+
|
|
971
|
+
---
|
|
972
|
+
|
|
973
|
+
**Built with ❤️ by [Digi Logic Labs](https://digilogiclabs.com)**
|
|
974
|
+
|
|
975
|
+
_Creating the future of SaaS development, one template at a time._
|