@digilogiclabs/create-saas-app 1.0.1
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 +891 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/cli/commands/add.d.ts +6 -0
- package/dist/cli/commands/add.d.ts.map +1 -0
- package/dist/cli/commands/add.js +39 -0
- package/dist/cli/commands/add.js.map +1 -0
- package/dist/cli/commands/create.d.ts +35 -0
- package/dist/cli/commands/create.d.ts.map +1 -0
- package/dist/cli/commands/create.js +165 -0
- package/dist/cli/commands/create.js.map +1 -0
- package/dist/cli/commands/index.d.ts +4 -0
- package/dist/cli/commands/index.d.ts.map +1 -0
- package/dist/cli/commands/index.js +20 -0
- package/dist/cli/commands/index.js.map +1 -0
- package/dist/cli/commands/update.d.ts +6 -0
- package/dist/cli/commands/update.d.ts.map +1 -0
- package/dist/cli/commands/update.js +68 -0
- package/dist/cli/commands/update.js.map +1 -0
- package/dist/cli/index.d.ts +4 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +61 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/prompts/index.d.ts +2 -0
- package/dist/cli/prompts/index.d.ts.map +1 -0
- package/dist/cli/prompts/index.js +18 -0
- package/dist/cli/prompts/index.js.map +1 -0
- package/dist/cli/prompts/project-setup.d.ts +5 -0
- package/dist/cli/prompts/project-setup.d.ts.map +1 -0
- package/dist/cli/prompts/project-setup.js +288 -0
- package/dist/cli/prompts/project-setup.js.map +1 -0
- package/dist/cli/utils/git.d.ts +9 -0
- package/dist/cli/utils/git.d.ts.map +1 -0
- package/dist/cli/utils/git.js +77 -0
- package/dist/cli/utils/git.js.map +1 -0
- package/dist/cli/utils/index.d.ts +5 -0
- package/dist/cli/utils/index.d.ts.map +1 -0
- package/dist/cli/utils/index.js +21 -0
- package/dist/cli/utils/index.js.map +1 -0
- package/dist/cli/utils/logger.d.ts +16 -0
- package/dist/cli/utils/logger.d.ts.map +1 -0
- package/dist/cli/utils/logger.js +55 -0
- package/dist/cli/utils/logger.js.map +1 -0
- package/dist/cli/utils/package-manager.d.ts +8 -0
- package/dist/cli/utils/package-manager.d.ts.map +1 -0
- package/dist/cli/utils/package-manager.js +92 -0
- package/dist/cli/utils/package-manager.js.map +1 -0
- package/dist/cli/utils/spinner.d.ts +7 -0
- package/dist/cli/utils/spinner.d.ts.map +1 -0
- package/dist/cli/utils/spinner.js +48 -0
- package/dist/cli/utils/spinner.js.map +1 -0
- package/dist/cli/validators/dependencies.d.ts +15 -0
- package/dist/cli/validators/dependencies.d.ts.map +1 -0
- package/dist/cli/validators/dependencies.js +108 -0
- package/dist/cli/validators/dependencies.js.map +1 -0
- package/dist/cli/validators/index.d.ts +3 -0
- package/dist/cli/validators/index.d.ts.map +1 -0
- package/dist/cli/validators/index.js +19 -0
- package/dist/cli/validators/index.js.map +1 -0
- package/dist/cli/validators/project-name.d.ts +5 -0
- package/dist/cli/validators/project-name.d.ts.map +1 -0
- package/dist/cli/validators/project-name.js +151 -0
- package/dist/cli/validators/project-name.js.map +1 -0
- package/dist/generators/file-processor.d.ts +28 -0
- package/dist/generators/file-processor.d.ts.map +1 -0
- package/dist/generators/file-processor.js +224 -0
- package/dist/generators/file-processor.js.map +1 -0
- package/dist/generators/index.d.ts +4 -0
- package/dist/generators/index.d.ts.map +1 -0
- package/dist/generators/index.js +20 -0
- package/dist/generators/index.js.map +1 -0
- package/dist/generators/package-installer.d.ts +29 -0
- package/dist/generators/package-installer.d.ts.map +1 -0
- package/dist/generators/package-installer.js +177 -0
- package/dist/generators/package-installer.js.map +1 -0
- package/dist/generators/template-generator.d.ts +61 -0
- package/dist/generators/template-generator.d.ts.map +1 -0
- package/dist/generators/template-generator.js +457 -0
- package/dist/generators/template-generator.js.map +1 -0
- package/dist/templates/mobile/base/template/.env.example +15 -0
- package/dist/templates/mobile/base/template/App.tsx +186 -0
- package/dist/templates/mobile/base/template/app/(auth)/login.tsx +44 -0
- package/dist/templates/mobile/base/template/app/(auth)/signup.tsx +43 -0
- package/dist/templates/mobile/base/template/app/checkout.tsx +20 -0
- package/dist/templates/mobile/base/template/app.json +44 -0
- package/dist/templates/mobile/base/template/babel.config.js +6 -0
- package/dist/templates/mobile/base/template/eas.json +19 -0
- package/dist/templates/mobile/base/template/package.json +54 -0
- package/dist/templates/mobile/ui-auth-payments/template/.env.example +20 -0
- package/dist/templates/mobile/ui-auth-payments/template/README.md +218 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/(tabs)/_layout.tsx +153 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/(tabs)/analytics.tsx +668 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/(tabs)/billing.tsx +743 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/(tabs)/index.tsx +757 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/(tabs)/orders.tsx +402 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/(tabs)/profile.tsx +580 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/_layout.tsx +134 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/auth/login.tsx +246 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/auth/signup.tsx +362 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/onboarding/index.tsx +193 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/tour/index.tsx +272 -0
- package/dist/templates/mobile/ui-auth-payments/template/app.json +94 -0
- package/dist/templates/mobile/ui-auth-payments/template/babel.config.js +23 -0
- package/dist/templates/mobile/ui-auth-payments/template/eas.json +45 -0
- package/dist/templates/mobile/ui-auth-payments/template/expo-env.d.ts +3 -0
- package/dist/templates/mobile/ui-auth-payments/template/jest-setup.ts +74 -0
- package/dist/templates/mobile/ui-auth-payments/template/metro.config.js +11 -0
- package/dist/templates/mobile/ui-auth-payments/template/package.json +117 -0
- package/dist/templates/mobile/ui-auth-payments/template/tsconfig.json +31 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/.env.example +23 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/README.md +254 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/_layout.tsx +169 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/ai.tsx +522 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/analytics.tsx +668 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/billing.tsx +743 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/index.tsx +676 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/orders.tsx +402 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/profile.tsx +580 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/_layout.tsx +134 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/auth/login.tsx +246 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/auth/signup.tsx +362 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/onboarding/index.tsx +193 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/tour/index.tsx +272 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app.json +94 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/babel.config.js +23 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/eas.json +45 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/expo-env.d.ts +3 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/jest-setup.ts +74 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/metro.config.js +11 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/package.json +119 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/tsconfig.json +31 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/README.md +655 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/app/(tabs)/ai.tsx +683 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/app/_layout.tsx +134 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/app.json +74 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/babel.config.js +25 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/docs/MOBILE-SETUP.md +787 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/eas.json +25 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/expo-env.d.ts +3 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/hooks/useRAGSystem.ts +346 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/jest-setup.ts +37 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/lib/rag/config.ts +180 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/metro.config.js +11 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/package.json +124 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/scripts/setup-rag.js +599 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/tsconfig.json +32 -0
- package/dist/templates/shared/auth/firebase/web/config.ts +23 -0
- package/dist/templates/shared/auth/supabase/web/config.ts +8 -0
- package/dist/templates/web/base/template/.env.example +15 -0
- package/dist/templates/web/base/template/.eslintrc.js +8 -0
- package/dist/templates/web/base/template/README.md +68 -0
- package/dist/templates/web/base/template/next.config.js +15 -0
- package/dist/templates/web/base/template/package.json +59 -0
- package/dist/templates/web/base/template/postcss.config.js +7 -0
- package/dist/templates/web/base/template/src/app/auth/callback/route.ts +18 -0
- package/dist/templates/web/base/template/src/app/checkout/page.tsx +119 -0
- package/dist/templates/web/base/template/src/app/dashboard/page.tsx +366 -0
- package/dist/templates/web/base/template/src/app/error.tsx +97 -0
- package/dist/templates/web/base/template/src/app/globals.css +157 -0
- package/dist/templates/web/base/template/src/app/layout.tsx +35 -0
- package/dist/templates/web/base/template/src/app/loading.tsx +52 -0
- package/dist/templates/web/base/template/src/app/login/page.tsx +67 -0
- package/dist/templates/web/base/template/src/app/page.tsx +193 -0
- package/dist/templates/web/base/template/src/app/signup/page.tsx +67 -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 +35 -0
- 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 +63 -0
- package/dist/templates/web/base/template/src/components/ui/badge.tsx +36 -0
- package/dist/templates/web/base/template/src/components/ui/button.tsx +56 -0
- package/dist/templates/web/base/template/src/components/ui/card.tsx +71 -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/platform.ts +146 -0
- package/dist/templates/web/base/template/src/lib/utils.ts +140 -0
- package/dist/templates/web/base/template/src/test/setup.ts +79 -0
- package/dist/templates/web/base/template/tailwind.config.js +77 -0
- package/dist/templates/web/base/template/tsconfig.json +33 -0
- package/dist/templates/web/base/template/vitest.config.ts +17 -0
- package/dist/templates/web/base/template.backup/.env.example +15 -0
- package/dist/templates/web/base/template.backup.20250817/.env.example +15 -0
- package/dist/templates/web/ui-auth/template/.claude +21 -0
- package/dist/templates/web/ui-auth/template/.env.example +15 -0
- package/dist/templates/web/ui-auth/template/.eslintrc.js +8 -0
- package/dist/templates/web/ui-auth/template/README.md +68 -0
- package/dist/templates/web/ui-auth/template/context.md +105 -0
- package/dist/templates/web/ui-auth/template/next.config.js +12 -0
- package/dist/templates/web/ui-auth/template/package.json +51 -0
- package/dist/templates/web/ui-auth/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-auth/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth/template/src/app/checkout/page.tsx +25 -0
- package/dist/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +801 -0
- package/dist/templates/web/ui-auth/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-auth/template/src/app/globals.css +95 -0
- package/dist/templates/web/ui-auth/template/src/app/layout.tsx +33 -0
- package/dist/templates/web/ui-auth/template/src/app/loading.tsx +38 -0
- package/dist/templates/web/ui-auth/template/src/app/login/page.tsx +109 -0
- package/dist/templates/web/ui-auth/template/src/app/page.tsx +305 -0
- package/dist/templates/web/ui-auth/template/src/app/setup/page.tsx +403 -0
- package/dist/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -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 +31 -0
- 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 +94 -0
- package/dist/templates/web/ui-auth/template/src/components/ui/badge.tsx +36 -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/platform.ts +137 -0
- package/dist/templates/web/ui-auth/template/src/lib/utils.ts +140 -0
- package/dist/templates/web/ui-auth/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-auth/template/tailwind.config.js +77 -0
- package/dist/templates/web/ui-auth/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-auth/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth/template.backup/.env.example +15 -0
- package/dist/templates/web/ui-auth/template.backup.20250817/.env.example +15 -0
- package/dist/templates/web/ui-auth-ai/template/.env.example +18 -0
- package/dist/templates/web/ui-auth-ai/template/README.md +170 -0
- package/dist/templates/web/ui-auth-ai/template/next.config.js +13 -0
- package/dist/templates/web/ui-auth-ai/template/package.json +39 -0
- package/dist/templates/web/ui-auth-ai/template/postcss.config.js +6 -0
- package/dist/templates/web/ui-auth-ai/template/src/app/globals.css +40 -0
- package/dist/templates/web/ui-auth-ai/template/src/app/layout.tsx +41 -0
- package/dist/templates/web/ui-auth-ai/template/src/app/page.tsx +193 -0
- package/dist/templates/web/ui-auth-ai/template/src/components/ai/audio-generator.tsx +141 -0
- package/dist/templates/web/ui-auth-ai/template/src/components/ai/video-generator.tsx +158 -0
- package/dist/templates/web/ui-auth-ai/template/src/components/auth/login-form.tsx +106 -0
- package/dist/templates/web/ui-auth-ai/template/src/components/ui/button.tsx +44 -0
- package/dist/templates/web/ui-auth-ai/template/src/components/ui/input.tsx +24 -0
- package/dist/templates/web/ui-auth-ai/template/src/components/ui/label.tsx +21 -0
- package/dist/templates/web/ui-auth-ai/template/src/components/ui/select.tsx +37 -0
- package/dist/templates/web/ui-auth-ai/template/src/components/ui/textarea.tsx +23 -0
- package/dist/templates/web/ui-auth-ai/template/src/hooks/useAuth.ts +1 -0
- package/dist/templates/web/ui-auth-ai/template/src/lib/supabase.ts +8 -0
- package/dist/templates/web/ui-auth-ai/template/src/lib/utils.ts +5 -0
- package/dist/templates/web/ui-auth-ai/template/src/providers/auth-provider.tsx +55 -0
- package/dist/templates/web/ui-auth-ai/template/tailwind.config.js +22 -0
- package/dist/templates/web/ui-auth-ai/template/tsconfig.json +28 -0
- package/dist/templates/web/ui-auth-payments/template/.env.example +51 -0
- package/dist/templates/web/ui-auth-payments/template/README.md +165 -0
- package/dist/templates/web/ui-auth-payments/template/middleware.ts +68 -0
- package/dist/templates/web/ui-auth-payments/template/next.config.js +12 -0
- package/dist/templates/web/ui-auth-payments/template/package-lock.json +12240 -0
- package/dist/templates/web/ui-auth-payments/template/package.json +55 -0
- package/dist/templates/web/ui-auth-payments/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/billing/page.tsx +211 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +318 -0
- 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 +235 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +801 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/globals.css +211 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/layout.tsx +33 -0
- 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/login/page.tsx +109 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/page.tsx +350 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +507 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/signup/loading.tsx +50 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -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 +34 -0
- 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 +230 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/ui/badge.tsx +36 -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/platform.ts +146 -0
- package/dist/templates/web/ui-auth-payments/template/src/lib/utils.ts +140 -0
- package/dist/templates/web/ui-auth-payments/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-auth-payments/template/tailwind.config.js +77 -0
- package/dist/templates/web/ui-auth-payments/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-auth-payments/template/tsconfig.tsbuildinfo +1 -0
- package/dist/templates/web/ui-auth-payments/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth-payments-ai/template/.claude +21 -0
- package/dist/templates/web/ui-auth-payments-ai/template/.env.example +60 -0
- package/dist/templates/web/ui-auth-payments-ai/template/README.md +207 -0
- package/dist/templates/web/ui-auth-payments-ai/template/context.md +169 -0
- package/dist/templates/web/ui-auth-payments-ai/template/middleware.ts +68 -0
- package/dist/templates/web/ui-auth-payments-ai/template/next.config.js +12 -0
- package/dist/templates/web/ui-auth-payments-ai/template/package-lock.json +12241 -0
- package/dist/templates/web/ui-auth-payments-ai/template/package.json +58 -0
- package/dist/templates/web/ui-auth-payments-ai/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/ai/page.tsx +310 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/audio/route.ts +56 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/chat/route.ts +49 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/text/route.ts +64 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/api/ai/video/route.ts +73 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +422 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/checkout/page.tsx +142 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/layout.tsx +22 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +236 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +801 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/globals.css +96 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/layout.tsx +35 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/loading.tsx +20 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/login/page.tsx +6 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/onboarding/page.tsx +364 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +394 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.backup +391 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.bak +391 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/settings/page.tsx +532 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +645 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/signup/page.tsx +6 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/__tests__/example.test.tsx +49 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/auth-status.tsx +52 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +163 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +201 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +38 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/theme-provider.tsx +96 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/shared/footer.tsx +36 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/shared/header.tsx +252 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/ui/badge.tsx +36 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/ui/theme-toggle.tsx +34 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/actions/auth.ts +246 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/actions/index.ts +14 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/auth-server.ts +177 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/env.ts +49 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/platform.ts +155 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/supabase/server.ts +72 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/lib/utils.ts +140 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-auth-payments-ai/template/tailwind.config.js +77 -0
- package/dist/templates/web/ui-auth-payments-ai/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-auth-payments-ai/template/tsconfig.tsbuildinfo +1 -0
- package/dist/templates/web/ui-auth-payments-ai/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/README.md +434 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/components/rag/KnowledgeManager.tsx +642 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/components/rag/RAGAnalytics.tsx +466 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/components/rag/RAGChatInterface.tsx +393 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/docs/GETTING-STARTED.md +457 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/hooks/useRAGSystem.ts +478 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/lib/rag/config.ts +250 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/package.json +76 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/scripts/setup-rag.js +622 -0
- package/dist/templates/web/ui-auth-payments-ai-rag/template/src/app/ai/page.tsx +396 -0
- package/dist/templates/web/ui-auth-payments-audio/template/.env.example +15 -0
- package/dist/templates/web/ui-auth-payments-audio/template/README.md +207 -0
- package/dist/templates/web/ui-auth-payments-audio/template/middleware.ts +68 -0
- package/dist/templates/web/ui-auth-payments-audio/template/next.config.js +12 -0
- package/dist/templates/web/ui-auth-payments-audio/template/package-lock.json +12241 -0
- package/dist/templates/web/ui-auth-payments-audio/template/package.json +55 -0
- package/dist/templates/web/ui-auth-payments-audio/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/billing/page.tsx +211 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/checkout/page.tsx +142 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/dashboard/layout.tsx +22 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/dashboard/page.tsx +237 -0
- 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/globals.css +96 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/layout.tsx +35 -0
- 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/app/login/page.tsx +6 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +403 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.backup +391 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.bak +391 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/setup/page.tsx +345 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/signup/page.tsx +6 -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/client/auth-status.tsx +52 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/client/login-form.tsx +144 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/client/signup-form.tsx +185 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +38 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/providers/theme-provider.tsx +96 -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 +252 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/ui/badge.tsx +36 -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/actions/auth.ts +246 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/lib/actions/index.ts +14 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/lib/auth-server.ts +177 -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 +140 -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/tailwind.config.js +77 -0
- package/dist/templates/web/ui-auth-payments-audio/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-auth-payments-audio/template/tsconfig.tsbuildinfo +1 -0
- package/dist/templates/web/ui-auth-payments-audio/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-auth-payments-video/template/.env.example +15 -0
- package/dist/templates/web/ui-auth-payments-video/template/README.md +190 -0
- package/dist/templates/web/ui-auth-payments-video/template/next.config.js +12 -0
- package/dist/templates/web/ui-auth-payments-video/template/package.json +55 -0
- package/dist/templates/web/ui-auth-payments-video/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/billing/page.tsx +211 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/checkout/page.tsx +142 -0
- 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/globals.css +228 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/layout.tsx +33 -0
- 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/app/login/page.tsx +109 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/page.tsx +395 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/setup/page.tsx +351 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +128 -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 +34 -0
- 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 +246 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/ui/badge.tsx +36 -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 +140 -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/tailwind.config.js +77 -0
- package/dist/templates/web/ui-auth-payments-video/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-auth-payments-video/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-only/template/.env.example +15 -0
- package/dist/templates/web/ui-only/template/.eslintrc.js +8 -0
- package/dist/templates/web/ui-only/template/README.md +68 -0
- package/dist/templates/web/ui-only/template/next.config.js +12 -0
- package/dist/templates/web/ui-only/template/package.json +49 -0
- package/dist/templates/web/ui-only/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-only/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-only/template/src/app/checkout/page.tsx +25 -0
- package/dist/templates/web/ui-only/template/src/app/error.tsx +67 -0
- package/dist/templates/web/ui-only/template/src/app/globals.css +42 -0
- package/dist/templates/web/ui-only/template/src/app/layout.tsx +33 -0
- package/dist/templates/web/ui-only/template/src/app/loading.tsx +20 -0
- package/dist/templates/web/ui-only/template/src/app/login/page.tsx +63 -0
- package/dist/templates/web/ui-only/template/src/app/page.tsx +91 -0
- package/dist/templates/web/ui-only/template/src/app/signup/page.tsx +79 -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 +26 -0
- 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 +53 -0
- package/dist/templates/web/ui-only/template/src/components/ui/badge.tsx +36 -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 +140 -0
- package/dist/templates/web/ui-only/template/src/test/setup.ts +79 -0
- package/dist/templates/web/ui-only/template/tailwind.config.js +77 -0
- package/dist/templates/web/ui-only/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-only/template/vitest.config.ts +17 -0
- package/dist/templates/web/ui-only/template.backup/.env.example +15 -0
- package/dist/templates/web/ui-only/template.backup.20250817/.env.example +15 -0
- package/dist/templates/web/ui-package-test/template/next-env.d.ts +5 -0
- package/dist/templates/web/ui-package-test/template/package.json +42 -0
- package/dist/templates/web/ui-package-test/template/src/app/page.tsx +106 -0
- package/dist/templates/web/ui-package-test/template/tsconfig.json +41 -0
- package/package.json +106 -0
- package/src/templates/mobile/base/template/.env.example +15 -0
- package/src/templates/mobile/base/template/App.tsx +186 -0
- package/src/templates/mobile/base/template/app/(auth)/login.tsx +44 -0
- package/src/templates/mobile/base/template/app/(auth)/signup.tsx +43 -0
- package/src/templates/mobile/base/template/app/checkout.tsx +20 -0
- package/src/templates/mobile/base/template/app.json +44 -0
- package/src/templates/mobile/base/template/babel.config.js +6 -0
- package/src/templates/mobile/base/template/eas.json +19 -0
- package/src/templates/mobile/base/template/package.json +54 -0
- package/src/templates/mobile/ui-auth-payments/template/.env.example +20 -0
- package/src/templates/mobile/ui-auth-payments/template/README.md +218 -0
- package/src/templates/mobile/ui-auth-payments/template/app/(tabs)/_layout.tsx +153 -0
- package/src/templates/mobile/ui-auth-payments/template/app/(tabs)/analytics.tsx +668 -0
- package/src/templates/mobile/ui-auth-payments/template/app/(tabs)/billing.tsx +743 -0
- package/src/templates/mobile/ui-auth-payments/template/app/(tabs)/index.tsx +757 -0
- package/src/templates/mobile/ui-auth-payments/template/app/(tabs)/orders.tsx +402 -0
- package/src/templates/mobile/ui-auth-payments/template/app/(tabs)/profile.tsx +580 -0
- package/src/templates/mobile/ui-auth-payments/template/app/_layout.tsx +134 -0
- package/src/templates/mobile/ui-auth-payments/template/app/auth/login.tsx +246 -0
- package/src/templates/mobile/ui-auth-payments/template/app/auth/signup.tsx +362 -0
- package/src/templates/mobile/ui-auth-payments/template/app/onboarding/index.tsx +193 -0
- package/src/templates/mobile/ui-auth-payments/template/app/tour/index.tsx +272 -0
- package/src/templates/mobile/ui-auth-payments/template/app.json +94 -0
- package/src/templates/mobile/ui-auth-payments/template/babel.config.js +23 -0
- package/src/templates/mobile/ui-auth-payments/template/eas.json +45 -0
- package/src/templates/mobile/ui-auth-payments/template/expo-env.d.ts +3 -0
- package/src/templates/mobile/ui-auth-payments/template/jest-setup.ts +74 -0
- package/src/templates/mobile/ui-auth-payments/template/metro.config.js +11 -0
- package/src/templates/mobile/ui-auth-payments/template/package.json +117 -0
- package/src/templates/mobile/ui-auth-payments/template/tsconfig.json +31 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/.env.example +23 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/README.md +254 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/_layout.tsx +169 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/ai.tsx +522 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/analytics.tsx +668 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/billing.tsx +743 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/index.tsx +676 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/orders.tsx +402 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/profile.tsx +580 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/_layout.tsx +134 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/auth/login.tsx +246 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/auth/signup.tsx +362 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/onboarding/index.tsx +193 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/tour/index.tsx +272 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app.json +94 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/babel.config.js +23 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/eas.json +45 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/expo-env.d.ts +3 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/jest-setup.ts +74 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/metro.config.js +11 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/package.json +119 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/tsconfig.json +31 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/README.md +655 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/app/(tabs)/ai.tsx +683 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/app/_layout.tsx +134 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/app.json +74 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/babel.config.js +25 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/docs/MOBILE-SETUP.md +787 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/eas.json +25 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/expo-env.d.ts +3 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/hooks/useRAGSystem.ts +346 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/jest-setup.ts +37 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/lib/rag/config.ts +180 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/metro.config.js +11 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/package.json +124 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/scripts/setup-rag.js +599 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/tsconfig.json +32 -0
- package/src/templates/shared/auth/firebase/web/config.ts +23 -0
- package/src/templates/shared/auth/supabase/web/config.ts +8 -0
- package/src/templates/web/base/template/.env.example +15 -0
- package/src/templates/web/base/template/.eslintrc.js +8 -0
- package/src/templates/web/base/template/README.md +68 -0
- package/src/templates/web/base/template/next.config.js +15 -0
- package/src/templates/web/base/template/package.json +59 -0
- package/src/templates/web/base/template/postcss.config.js +7 -0
- package/src/templates/web/base/template/src/app/auth/callback/route.ts +18 -0
- package/src/templates/web/base/template/src/app/checkout/page.tsx +119 -0
- package/src/templates/web/base/template/src/app/dashboard/page.tsx +366 -0
- package/src/templates/web/base/template/src/app/error.tsx +97 -0
- package/src/templates/web/base/template/src/app/globals.css +157 -0
- package/src/templates/web/base/template/src/app/layout.tsx +35 -0
- package/src/templates/web/base/template/src/app/loading.tsx +52 -0
- package/src/templates/web/base/template/src/app/login/page.tsx +67 -0
- package/src/templates/web/base/template/src/app/page.tsx +193 -0
- package/src/templates/web/base/template/src/app/signup/page.tsx +67 -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 +35 -0
- 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 +63 -0
- package/src/templates/web/base/template/src/components/ui/badge.tsx +36 -0
- package/src/templates/web/base/template/src/components/ui/button.tsx +56 -0
- package/src/templates/web/base/template/src/components/ui/card.tsx +71 -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/platform.ts +146 -0
- package/src/templates/web/base/template/src/lib/utils.ts +140 -0
- package/src/templates/web/base/template/src/test/setup.ts +79 -0
- package/src/templates/web/base/template/tailwind.config.js +77 -0
- package/src/templates/web/base/template/tsconfig.json +33 -0
- package/src/templates/web/base/template/vitest.config.ts +17 -0
- package/src/templates/web/base/template.backup/.env.example +15 -0
- package/src/templates/web/base/template.backup.20250817/.env.example +15 -0
- package/src/templates/web/ui-auth/template/.claude +21 -0
- package/src/templates/web/ui-auth/template/.env.example +15 -0
- package/src/templates/web/ui-auth/template/.eslintrc.js +8 -0
- package/src/templates/web/ui-auth/template/README.md +68 -0
- package/src/templates/web/ui-auth/template/context.md +105 -0
- package/src/templates/web/ui-auth/template/next.config.js +12 -0
- package/src/templates/web/ui-auth/template/package.json +51 -0
- package/src/templates/web/ui-auth/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth/template/src/app/checkout/page.tsx +25 -0
- package/src/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +801 -0
- package/src/templates/web/ui-auth/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-auth/template/src/app/globals.css +95 -0
- package/src/templates/web/ui-auth/template/src/app/layout.tsx +33 -0
- package/src/templates/web/ui-auth/template/src/app/loading.tsx +38 -0
- package/src/templates/web/ui-auth/template/src/app/login/page.tsx +109 -0
- package/src/templates/web/ui-auth/template/src/app/page.tsx +305 -0
- package/src/templates/web/ui-auth/template/src/app/setup/page.tsx +403 -0
- package/src/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -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 +31 -0
- 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 +94 -0
- package/src/templates/web/ui-auth/template/src/components/ui/badge.tsx +36 -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/platform.ts +137 -0
- package/src/templates/web/ui-auth/template/src/lib/utils.ts +140 -0
- package/src/templates/web/ui-auth/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-auth/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth/template.backup/.env.example +15 -0
- package/src/templates/web/ui-auth/template.backup.20250817/.env.example +15 -0
- package/src/templates/web/ui-auth-ai/template/.env.example +18 -0
- package/src/templates/web/ui-auth-ai/template/README.md +170 -0
- package/src/templates/web/ui-auth-ai/template/next.config.js +13 -0
- package/src/templates/web/ui-auth-ai/template/package.json +39 -0
- package/src/templates/web/ui-auth-ai/template/postcss.config.js +6 -0
- package/src/templates/web/ui-auth-ai/template/src/app/globals.css +40 -0
- package/src/templates/web/ui-auth-ai/template/src/app/layout.tsx +41 -0
- package/src/templates/web/ui-auth-ai/template/src/app/page.tsx +193 -0
- package/src/templates/web/ui-auth-ai/template/src/components/ai/audio-generator.tsx +141 -0
- package/src/templates/web/ui-auth-ai/template/src/components/ai/video-generator.tsx +158 -0
- package/src/templates/web/ui-auth-ai/template/src/components/auth/login-form.tsx +106 -0
- package/src/templates/web/ui-auth-ai/template/src/components/ui/button.tsx +44 -0
- package/src/templates/web/ui-auth-ai/template/src/components/ui/input.tsx +24 -0
- package/src/templates/web/ui-auth-ai/template/src/components/ui/label.tsx +21 -0
- package/src/templates/web/ui-auth-ai/template/src/components/ui/select.tsx +37 -0
- package/src/templates/web/ui-auth-ai/template/src/components/ui/textarea.tsx +23 -0
- package/src/templates/web/ui-auth-ai/template/src/hooks/useAuth.ts +1 -0
- package/src/templates/web/ui-auth-ai/template/src/lib/supabase.ts +8 -0
- package/src/templates/web/ui-auth-ai/template/src/lib/utils.ts +5 -0
- package/src/templates/web/ui-auth-ai/template/src/providers/auth-provider.tsx +55 -0
- package/src/templates/web/ui-auth-ai/template/tailwind.config.js +22 -0
- package/src/templates/web/ui-auth-ai/template/tsconfig.json +28 -0
- package/src/templates/web/ui-auth-payments/template/.env.example +51 -0
- package/src/templates/web/ui-auth-payments/template/README.md +165 -0
- package/src/templates/web/ui-auth-payments/template/middleware.ts +68 -0
- package/src/templates/web/ui-auth-payments/template/next.config.js +12 -0
- package/src/templates/web/ui-auth-payments/template/package-lock.json +12240 -0
- package/src/templates/web/ui-auth-payments/template/package.json +55 -0
- package/src/templates/web/ui-auth-payments/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth-payments/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth-payments/template/src/app/billing/page.tsx +211 -0
- package/src/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +318 -0
- 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 +235 -0
- package/src/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +801 -0
- package/src/templates/web/ui-auth-payments/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-auth-payments/template/src/app/globals.css +211 -0
- package/src/templates/web/ui-auth-payments/template/src/app/layout.tsx +33 -0
- 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/login/page.tsx +109 -0
- package/src/templates/web/ui-auth-payments/template/src/app/page.tsx +350 -0
- package/src/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +507 -0
- package/src/templates/web/ui-auth-payments/template/src/app/signup/loading.tsx +50 -0
- package/src/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -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 +34 -0
- 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 +230 -0
- package/src/templates/web/ui-auth-payments/template/src/components/ui/badge.tsx +36 -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/platform.ts +146 -0
- package/src/templates/web/ui-auth-payments/template/src/lib/utils.ts +140 -0
- package/src/templates/web/ui-auth-payments/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-auth-payments/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth-payments/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth-payments/template/tsconfig.tsbuildinfo +1 -0
- package/src/templates/web/ui-auth-payments/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth-payments-ai/template/.claude +21 -0
- package/src/templates/web/ui-auth-payments-ai/template/.env.example +60 -0
- package/src/templates/web/ui-auth-payments-ai/template/README.md +207 -0
- package/src/templates/web/ui-auth-payments-ai/template/context.md +169 -0
- package/src/templates/web/ui-auth-payments-ai/template/middleware.ts +68 -0
- package/src/templates/web/ui-auth-payments-ai/template/next.config.js +12 -0
- package/src/templates/web/ui-auth-payments-ai/template/package-lock.json +12241 -0
- package/src/templates/web/ui-auth-payments-ai/template/package.json +58 -0
- package/src/templates/web/ui-auth-payments-ai/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/ai/page.tsx +310 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/audio/route.ts +56 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/chat/route.ts +49 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/text/route.ts +64 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/api/ai/video/route.ts +73 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +422 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/checkout/page.tsx +142 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/layout.tsx +22 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +236 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +801 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/globals.css +96 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/layout.tsx +35 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/loading.tsx +20 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/login/page.tsx +6 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/onboarding/page.tsx +364 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +394 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.backup +391 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx.bak +391 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/settings/page.tsx +532 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +645 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/signup/page.tsx +6 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/__tests__/example.test.tsx +49 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/client/auth-status.tsx +52 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +163 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +201 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +38 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/theme-provider.tsx +96 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/shared/footer.tsx +36 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/shared/header.tsx +252 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/ui/badge.tsx +36 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/ui/theme-toggle.tsx +34 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/actions/auth.ts +246 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/actions/index.ts +14 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/auth-server.ts +177 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/env.ts +49 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/platform.ts +155 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/supabase/server.ts +72 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/lib/utils.ts +140 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-auth-payments-ai/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth-payments-ai/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth-payments-ai/template/tsconfig.tsbuildinfo +1 -0
- package/src/templates/web/ui-auth-payments-ai/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/README.md +434 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/components/rag/KnowledgeManager.tsx +642 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/components/rag/RAGAnalytics.tsx +466 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/components/rag/RAGChatInterface.tsx +393 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/docs/GETTING-STARTED.md +457 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/hooks/useRAGSystem.ts +478 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/lib/rag/config.ts +250 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/package.json +76 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/scripts/setup-rag.js +622 -0
- package/src/templates/web/ui-auth-payments-ai-rag/template/src/app/ai/page.tsx +396 -0
- package/src/templates/web/ui-auth-payments-audio/template/.env.example +15 -0
- package/src/templates/web/ui-auth-payments-audio/template/README.md +207 -0
- package/src/templates/web/ui-auth-payments-audio/template/middleware.ts +68 -0
- package/src/templates/web/ui-auth-payments-audio/template/next.config.js +12 -0
- package/src/templates/web/ui-auth-payments-audio/template/package-lock.json +12241 -0
- package/src/templates/web/ui-auth-payments-audio/template/package.json +55 -0
- package/src/templates/web/ui-auth-payments-audio/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/billing/page.tsx +211 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/checkout/page.tsx +142 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/dashboard/layout.tsx +22 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/dashboard/page.tsx +237 -0
- 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/globals.css +96 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/layout.tsx +35 -0
- 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/app/login/page.tsx +6 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +403 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.backup +391 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx.bak +391 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/setup/page.tsx +345 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/signup/page.tsx +6 -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/client/auth-status.tsx +52 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/client/login-form.tsx +144 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/client/signup-form.tsx +185 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +38 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/providers/theme-provider.tsx +96 -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 +252 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/ui/badge.tsx +36 -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/actions/auth.ts +246 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/lib/actions/index.ts +14 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/lib/auth-server.ts +177 -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 +140 -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/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth-payments-audio/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth-payments-audio/template/tsconfig.tsbuildinfo +1 -0
- package/src/templates/web/ui-auth-payments-audio/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-auth-payments-video/template/.env.example +15 -0
- package/src/templates/web/ui-auth-payments-video/template/README.md +190 -0
- package/src/templates/web/ui-auth-payments-video/template/next.config.js +12 -0
- package/src/templates/web/ui-auth-payments-video/template/package.json +55 -0
- package/src/templates/web/ui-auth-payments-video/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/billing/page.tsx +211 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/checkout/page.tsx +142 -0
- 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/globals.css +228 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/layout.tsx +33 -0
- 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/app/login/page.tsx +109 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/page.tsx +395 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/setup/page.tsx +351 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +128 -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 +34 -0
- 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 +246 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/ui/badge.tsx +36 -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 +140 -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/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth-payments-video/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth-payments-video/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-only/template/.env.example +15 -0
- package/src/templates/web/ui-only/template/.eslintrc.js +8 -0
- package/src/templates/web/ui-only/template/README.md +68 -0
- package/src/templates/web/ui-only/template/next.config.js +12 -0
- package/src/templates/web/ui-only/template/package.json +49 -0
- package/src/templates/web/ui-only/template/postcss.config.js +7 -0
- package/src/templates/web/ui-only/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-only/template/src/app/checkout/page.tsx +25 -0
- package/src/templates/web/ui-only/template/src/app/error.tsx +67 -0
- package/src/templates/web/ui-only/template/src/app/globals.css +42 -0
- package/src/templates/web/ui-only/template/src/app/layout.tsx +33 -0
- package/src/templates/web/ui-only/template/src/app/loading.tsx +20 -0
- package/src/templates/web/ui-only/template/src/app/login/page.tsx +63 -0
- package/src/templates/web/ui-only/template/src/app/page.tsx +91 -0
- package/src/templates/web/ui-only/template/src/app/signup/page.tsx +79 -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 +26 -0
- 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 +53 -0
- package/src/templates/web/ui-only/template/src/components/ui/badge.tsx +36 -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 +140 -0
- package/src/templates/web/ui-only/template/src/test/setup.ts +79 -0
- package/src/templates/web/ui-only/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-only/template/tsconfig.json +33 -0
- package/src/templates/web/ui-only/template/vitest.config.ts +17 -0
- package/src/templates/web/ui-only/template.backup/.env.example +15 -0
- package/src/templates/web/ui-only/template.backup.20250817/.env.example +15 -0
- package/src/templates/web/ui-package-test/template/next-env.d.ts +5 -0
- package/src/templates/web/ui-package-test/template/package.json +42 -0
- package/src/templates/web/ui-package-test/template/src/app/page.tsx +106 -0
- package/src/templates/web/ui-package-test/template/tsconfig.json +41 -0
|
@@ -0,0 +1,801 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
Card,
|
|
5
|
+
Button,
|
|
6
|
+
PageTransition,
|
|
7
|
+
MobileContainer,
|
|
8
|
+
useAnimationTokens,
|
|
9
|
+
useGlassmorphism
|
|
10
|
+
} from '@digilogiclabs/saas-factory-ui'
|
|
11
|
+
import {
|
|
12
|
+
ArrowLeft,
|
|
13
|
+
CheckCircle,
|
|
14
|
+
Copy,
|
|
15
|
+
Terminal,
|
|
16
|
+
Bot,
|
|
17
|
+
FileText,
|
|
18
|
+
Rocket,
|
|
19
|
+
Cloud,
|
|
20
|
+
Code2,
|
|
21
|
+
Book,
|
|
22
|
+
Zap,
|
|
23
|
+
Settings,
|
|
24
|
+
Download,
|
|
25
|
+
ExternalLink,
|
|
26
|
+
GitBranch,
|
|
27
|
+
Database,
|
|
28
|
+
Globe
|
|
29
|
+
} from 'lucide-react'
|
|
30
|
+
import Link from 'next/link'
|
|
31
|
+
import { useState } from 'react'
|
|
32
|
+
|
|
33
|
+
interface DeploymentOption {
|
|
34
|
+
name: string
|
|
35
|
+
icon: any
|
|
36
|
+
description: string
|
|
37
|
+
complexity: 'Easy' | 'Medium' | 'Advanced'
|
|
38
|
+
timeEstimate: string
|
|
39
|
+
features: string[]
|
|
40
|
+
steps: Array<{
|
|
41
|
+
title: string
|
|
42
|
+
description: string
|
|
43
|
+
code?: string
|
|
44
|
+
link?: string
|
|
45
|
+
}>
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export default function DevSetupPage() {
|
|
49
|
+
const animations = useAnimationTokens()
|
|
50
|
+
const glass = useGlassmorphism()
|
|
51
|
+
const [copiedItem, setCopiedItem] = useState<string | null>(null)
|
|
52
|
+
const [activeTab, setActiveTab] = useState<'claude' | 'deployment'>('claude')
|
|
53
|
+
|
|
54
|
+
const projectName = "{{projectName}}"
|
|
55
|
+
const templateName = "{{ai.enabled ? 'Full-Stack AI Platform' : 'SaaS Platform'}}"
|
|
56
|
+
const hasAuth = true
|
|
57
|
+
const hasPayments = true
|
|
58
|
+
const hasAI = "{{ai.enabled}}" === "true"
|
|
59
|
+
const hasAudio = "{{ai.hasAudio}}" === "true"
|
|
60
|
+
const hasVideo = "{{ai.hasVideo}}" === "true"
|
|
61
|
+
|
|
62
|
+
const copyToClipboard = async (text: string, itemName: string) => {
|
|
63
|
+
await navigator.clipboard.writeText(text)
|
|
64
|
+
setCopiedItem(itemName)
|
|
65
|
+
setTimeout(() => setCopiedItem(null), 2000)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Template-specific package documentation
|
|
69
|
+
const packageDocs = [
|
|
70
|
+
...(hasAuth ? [{
|
|
71
|
+
name: "@digilogiclabs/saas-factory-auth",
|
|
72
|
+
description: "Authentication components and hooks with Supabase integration",
|
|
73
|
+
key_exports: ["useAuth", "AuthProvider", "LoginForm", "SignupForm"],
|
|
74
|
+
docs_link: "https://docs.digilogiclabs.com/packages/auth"
|
|
75
|
+
}] : []),
|
|
76
|
+
{
|
|
77
|
+
name: "@digilogiclabs/saas-factory-ui",
|
|
78
|
+
description: "Modern UI components with glassmorphism and responsive design",
|
|
79
|
+
key_exports: ["Button", "Card", "MobileContainer", "PageTransition", "ResponsiveGrid"],
|
|
80
|
+
docs_link: "https://docs.digilogiclabs.com/packages/ui"
|
|
81
|
+
},
|
|
82
|
+
...(hasPayments ? [{
|
|
83
|
+
name: "@digilogiclabs/saas-factory-payments",
|
|
84
|
+
description: "Stripe integration for subscriptions and payments",
|
|
85
|
+
key_exports: ["useStripe", "PaymentForm", "SubscriptionManager", "BillingPortal"],
|
|
86
|
+
docs_link: "https://docs.digilogiclabs.com/packages/payments"
|
|
87
|
+
}] : []),
|
|
88
|
+
...(hasAI ? [{
|
|
89
|
+
name: "@digilogiclabs/saas-factory-ai",
|
|
90
|
+
description: "AI platform with text, audio, and video generation capabilities",
|
|
91
|
+
key_exports: ["AIProvider", "AITextGenerator", "AIAudioGenerator", "AIVideoGenerator", "AIChat"],
|
|
92
|
+
docs_link: "https://docs.digilogiclabs.com/packages/ai"
|
|
93
|
+
}, {
|
|
94
|
+
name: "@digilogiclabs/saas-factory-ai-types",
|
|
95
|
+
description: "TypeScript types and interfaces for AI operations",
|
|
96
|
+
key_exports: ["AIConfig", "TextGenerationRequest", "AudioGenerationRequest", "VideoGenerationRequest"],
|
|
97
|
+
docs_link: "https://docs.digilogiclabs.com/packages/ai-types"
|
|
98
|
+
}] : [])
|
|
99
|
+
]
|
|
100
|
+
|
|
101
|
+
const claudeConfig = {
|
|
102
|
+
name: projectName,
|
|
103
|
+
description: `${templateName} built with Digi Logic Labs packages`,
|
|
104
|
+
include: [
|
|
105
|
+
"src/**/*",
|
|
106
|
+
"*.md",
|
|
107
|
+
"*.json",
|
|
108
|
+
"*.js",
|
|
109
|
+
"*.ts",
|
|
110
|
+
".env.example"
|
|
111
|
+
],
|
|
112
|
+
exclude: [
|
|
113
|
+
"node_modules/**/*",
|
|
114
|
+
".next/**/*",
|
|
115
|
+
"dist/**/*",
|
|
116
|
+
"build/**/*",
|
|
117
|
+
"*.log"
|
|
118
|
+
],
|
|
119
|
+
instructions: `You are helping develop a ${templateName} using Next.js 15, TypeScript, and Digi Logic Labs packages.
|
|
120
|
+
|
|
121
|
+
## Project Architecture
|
|
122
|
+
- **Framework**: Next.js 15.3 with App Router
|
|
123
|
+
- **Database**: Supabase (PostgreSQL with real-time features)
|
|
124
|
+
- **Styling**: Tailwind CSS v4 with glassmorphism design system
|
|
125
|
+
${hasAuth ? '- **Authentication**: Supabase Auth with @digilogiclabs/saas-factory-auth' : ''}
|
|
126
|
+
${hasPayments ? '- **Payments**: Stripe integration with @digilogiclabs/saas-factory-payments' : ''}
|
|
127
|
+
${hasAI ? '- **AI Platform**: Multi-modal AI with @digilogiclabs/saas-factory-ai' : ''}
|
|
128
|
+
|
|
129
|
+
## Key Packages
|
|
130
|
+
${packageDocs.map(pkg => `- **${pkg.name}**: ${pkg.description}`).join('\n')}
|
|
131
|
+
|
|
132
|
+
## Development Guidelines
|
|
133
|
+
1. Follow Next.js 15 best practices with Server Components by default
|
|
134
|
+
2. Use TypeScript strictly - all components should be typed
|
|
135
|
+
3. Implement proper error boundaries and loading states
|
|
136
|
+
4. Follow the glassmorphism design system from saas-factory-ui
|
|
137
|
+
5. Use Server Actions for mutations and API routes for complex logic
|
|
138
|
+
${hasAuth ? '6. Always check authentication state with useAuth hook' : ''}
|
|
139
|
+
${hasPayments ? '7. Handle payment states and subscription status properly' : ''}
|
|
140
|
+
${hasAI ? '8. Implement proper AI generation state management and error handling' : ''}
|
|
141
|
+
|
|
142
|
+
## File Organization
|
|
143
|
+
- Components in /src/components with feature-based folders
|
|
144
|
+
- Server actions in /src/server/actions
|
|
145
|
+
- API routes in /src/app/api
|
|
146
|
+
- Database queries in /src/server/queries
|
|
147
|
+
- Types in /src/types
|
|
148
|
+
|
|
149
|
+
## Testing
|
|
150
|
+
- Use Vitest for unit tests
|
|
151
|
+
- Test business logic and error states
|
|
152
|
+
- Mock external services (Supabase, Stripe, AI providers)
|
|
153
|
+
|
|
154
|
+
Remember to consult the context.md file for detailed package documentation and examples.`
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const contextContent = `# ${projectName} - Development Context
|
|
158
|
+
|
|
159
|
+
This project is a ${templateName} built with modern technologies and Digi Logic Labs packages.
|
|
160
|
+
|
|
161
|
+
## Architecture Overview
|
|
162
|
+
|
|
163
|
+
### Core Technologies
|
|
164
|
+
- **Next.js 15.3**: App Router, Server Components, Server Actions
|
|
165
|
+
- **TypeScript**: Strict typing throughout
|
|
166
|
+
- **Tailwind CSS v4**: Design tokens, glassmorphism system
|
|
167
|
+
- **Supabase**: Database, authentication, real-time features
|
|
168
|
+
|
|
169
|
+
### Package Integration
|
|
170
|
+
|
|
171
|
+
${packageDocs.map(pkg => `
|
|
172
|
+
#### ${pkg.name}
|
|
173
|
+
${pkg.description}
|
|
174
|
+
|
|
175
|
+
**Key Exports**: ${pkg.key_exports.join(', ')}
|
|
176
|
+
**Documentation**: ${pkg.docs_link}
|
|
177
|
+
`).join('\n')}
|
|
178
|
+
|
|
179
|
+
## Environment Configuration
|
|
180
|
+
|
|
181
|
+
Required environment variables:
|
|
182
|
+
\`\`\`bash
|
|
183
|
+
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
|
|
184
|
+
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
|
|
185
|
+
${hasPayments ? 'NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key\nSTRIPE_SECRET_KEY=your_stripe_secret_key' : ''}
|
|
186
|
+
${hasAI ? 'OPENAI_API_KEY=your_openai_api_key' : ''}
|
|
187
|
+
${hasAudio ? 'ELEVENLABS_API_KEY=your_elevenlabs_api_key' : ''}
|
|
188
|
+
${hasVideo ? 'REPLICATE_API_TOKEN=your_replicate_token' : ''}
|
|
189
|
+
\`\`\`
|
|
190
|
+
|
|
191
|
+
## Database Schema
|
|
192
|
+
|
|
193
|
+
Key tables:
|
|
194
|
+
- **profiles**: User profile information
|
|
195
|
+
${hasPayments ? '- **subscriptions**: Stripe subscription management' : ''}
|
|
196
|
+
${hasAI ? '- **ai_conversations**: AI interaction history' : ''}
|
|
197
|
+
${hasAudio ? '- **audio_content**: Generated audio files and metadata' : ''}
|
|
198
|
+
${hasVideo ? '- **video_content**: Generated video files and metadata' : ''}
|
|
199
|
+
|
|
200
|
+
## Common Patterns
|
|
201
|
+
|
|
202
|
+
### Authentication Flow
|
|
203
|
+
${hasAuth ? `\`\`\`typescript
|
|
204
|
+
import { useAuth } from '@digilogiclabs/saas-factory-auth'
|
|
205
|
+
|
|
206
|
+
export function ProtectedComponent() {
|
|
207
|
+
const { user, loading } = useAuth()
|
|
208
|
+
|
|
209
|
+
if (loading) return <LoadingSpinner />
|
|
210
|
+
if (!user) return <LoginPrompt />
|
|
211
|
+
|
|
212
|
+
return <UserContent user={user} />
|
|
213
|
+
}
|
|
214
|
+
\`\`\`` : 'Authentication not configured for this template'}
|
|
215
|
+
|
|
216
|
+
### UI Components
|
|
217
|
+
\`\`\`typescript
|
|
218
|
+
import {
|
|
219
|
+
Card,
|
|
220
|
+
Button,
|
|
221
|
+
PageTransition,
|
|
222
|
+
useGlassmorphism
|
|
223
|
+
} from '@digilogiclabs/saas-factory-ui'
|
|
224
|
+
|
|
225
|
+
export function ExampleComponent() {
|
|
226
|
+
const glass = useGlassmorphism()
|
|
227
|
+
|
|
228
|
+
return (
|
|
229
|
+
<PageTransition type="fade">
|
|
230
|
+
<Card className={\`\${glass.card} \${glass.border}\`}>
|
|
231
|
+
<Button variant="default">Action</Button>
|
|
232
|
+
</Card>
|
|
233
|
+
</PageTransition>
|
|
234
|
+
)
|
|
235
|
+
}
|
|
236
|
+
\`\`\`
|
|
237
|
+
|
|
238
|
+
${hasPayments ? `### Payment Integration
|
|
239
|
+
\`\`\`typescript
|
|
240
|
+
import { useStripe, PaymentForm } from '@digilogiclabs/saas-factory-payments'
|
|
241
|
+
|
|
242
|
+
export function CheckoutPage() {
|
|
243
|
+
const { createCheckoutSession, loading } = useStripe()
|
|
244
|
+
|
|
245
|
+
const handlePayment = async (priceId: string) => {
|
|
246
|
+
const { url } = await createCheckoutSession({ priceId })
|
|
247
|
+
window.location.href = url
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
return <PaymentForm onSubmit={handlePayment} />
|
|
251
|
+
}
|
|
252
|
+
\`\`\`` : ''}
|
|
253
|
+
|
|
254
|
+
${hasAI ? `### AI Integration
|
|
255
|
+
\`\`\`typescript
|
|
256
|
+
import { AIProvider, AITextGenerator } from '@digilogiclabs/saas-factory-ai'
|
|
257
|
+
|
|
258
|
+
export function AIDemo() {
|
|
259
|
+
const aiConfig = {
|
|
260
|
+
apiKey: process.env.OPENAI_API_KEY,
|
|
261
|
+
provider: 'openai',
|
|
262
|
+
model: 'gpt-4'
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
return (
|
|
266
|
+
<AIProvider config={aiConfig}>
|
|
267
|
+
<AITextGenerator
|
|
268
|
+
placeholder="Generate content..."
|
|
269
|
+
maxLength={2000}
|
|
270
|
+
/>
|
|
271
|
+
</AIProvider>
|
|
272
|
+
)
|
|
273
|
+
}
|
|
274
|
+
\`\`\`` : ''}
|
|
275
|
+
|
|
276
|
+
## Development Workflow
|
|
277
|
+
|
|
278
|
+
1. **Setup**: Run setup guide at /setup
|
|
279
|
+
2. **Development**: \`npm run dev\` with hot reload
|
|
280
|
+
3. **Testing**: \`npm run test\` with Vitest
|
|
281
|
+
4. **Building**: \`npm run build\` for production
|
|
282
|
+
5. **Deployment**: See deployment guide at /dev-setup
|
|
283
|
+
|
|
284
|
+
## Troubleshooting
|
|
285
|
+
|
|
286
|
+
### Common Issues
|
|
287
|
+
- **Environment Variables**: Check .env.local file exists and variables are correct
|
|
288
|
+
- **Database Connection**: Verify Supabase project settings and RLS policies
|
|
289
|
+
${hasPayments ? '- **Stripe Issues**: Check webhook endpoints and API keys match' : ''}
|
|
290
|
+
${hasAI ? '- **AI Generation Failures**: Verify API keys and rate limits' : ''}
|
|
291
|
+
|
|
292
|
+
### Debug Commands
|
|
293
|
+
\`\`\`bash
|
|
294
|
+
npm run type-check # TypeScript validation
|
|
295
|
+
npm run lint # ESLint validation
|
|
296
|
+
npm run test # Run test suite
|
|
297
|
+
\`\`\`
|
|
298
|
+
|
|
299
|
+
## Resources
|
|
300
|
+
|
|
301
|
+
- **Package Documentation**: https://docs.digilogiclabs.com
|
|
302
|
+
- **Support Discord**: https://discord.gg/digilogiclabs
|
|
303
|
+
- **Example Projects**: https://github.com/digilogiclabs/examples
|
|
304
|
+
- **Setup Guide**: /setup page in this application
|
|
305
|
+
`
|
|
306
|
+
|
|
307
|
+
const deploymentOptions: DeploymentOption[] = [
|
|
308
|
+
{
|
|
309
|
+
name: "Vercel (Recommended)",
|
|
310
|
+
icon: Globe,
|
|
311
|
+
description: "Zero-configuration deployment with automatic HTTPS, edge functions, and global CDN",
|
|
312
|
+
complexity: "Easy",
|
|
313
|
+
timeEstimate: "5 minutes",
|
|
314
|
+
features: [
|
|
315
|
+
"Automatic deployments from Git",
|
|
316
|
+
"Built-in CDN and edge functions",
|
|
317
|
+
"Environment variable management",
|
|
318
|
+
"Preview deployments for PRs",
|
|
319
|
+
"Custom domains and SSL"
|
|
320
|
+
],
|
|
321
|
+
steps: [
|
|
322
|
+
{
|
|
323
|
+
title: "Install Vercel CLI",
|
|
324
|
+
description: "Install the Vercel CLI globally",
|
|
325
|
+
code: "npm install -g vercel"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
title: "Deploy to Vercel",
|
|
329
|
+
description: "Deploy your project with a single command",
|
|
330
|
+
code: "vercel --prod",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
title: "Configure Environment Variables",
|
|
334
|
+
description: "Add your environment variables in the Vercel dashboard",
|
|
335
|
+
link: "https://vercel.com/docs/environment-variables"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
title: "Set up Custom Domain",
|
|
339
|
+
description: "Add your custom domain in the Vercel project settings",
|
|
340
|
+
link: "https://vercel.com/docs/custom-domains"
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: "Netlify",
|
|
346
|
+
icon: Cloud,
|
|
347
|
+
description: "Git-based deployment with form handling, edge functions, and A/B testing",
|
|
348
|
+
complexity: "Easy",
|
|
349
|
+
timeEstimate: "10 minutes",
|
|
350
|
+
features: [
|
|
351
|
+
"Drag & drop deployment",
|
|
352
|
+
"Form handling and serverless functions",
|
|
353
|
+
"Split testing and analytics",
|
|
354
|
+
"Identity and authentication",
|
|
355
|
+
"Large media support"
|
|
356
|
+
],
|
|
357
|
+
steps: [
|
|
358
|
+
{
|
|
359
|
+
title: "Build Your Project",
|
|
360
|
+
description: "Create a production build",
|
|
361
|
+
code: "npm run build"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
title: "Deploy to Netlify",
|
|
365
|
+
description: "Drag and drop your dist folder to Netlify or connect your Git repository",
|
|
366
|
+
link: "https://app.netlify.com/drop"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
title: "Configure Build Settings",
|
|
370
|
+
description: "Set build command and publish directory",
|
|
371
|
+
code: "Build command: npm run build\nPublish directory: out"
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: "Railway",
|
|
377
|
+
icon: Database,
|
|
378
|
+
description: "Full-stack deployment with integrated database, metrics, and team collaboration",
|
|
379
|
+
complexity: "Medium",
|
|
380
|
+
timeEstimate: "15 minutes",
|
|
381
|
+
features: [
|
|
382
|
+
"Integrated PostgreSQL database",
|
|
383
|
+
"Automatic HTTPS and custom domains",
|
|
384
|
+
"Built-in metrics and logging",
|
|
385
|
+
"Team collaboration features",
|
|
386
|
+
"One-click database backups"
|
|
387
|
+
],
|
|
388
|
+
steps: [
|
|
389
|
+
{
|
|
390
|
+
title: "Install Railway CLI",
|
|
391
|
+
description: "Install Railway CLI and login",
|
|
392
|
+
code: "npm install -g @railway/cli\nrailway login"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
title: "Initialize Project",
|
|
396
|
+
description: "Initialize Railway in your project",
|
|
397
|
+
code: "railway init"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
title: "Deploy Application",
|
|
401
|
+
description: "Deploy your application and database",
|
|
402
|
+
code: "railway up"
|
|
403
|
+
}
|
|
404
|
+
]
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
name: "Docker + Cloud Run",
|
|
408
|
+
icon: Code2,
|
|
409
|
+
description: "Containerized deployment on Google Cloud with auto-scaling and pay-per-use pricing",
|
|
410
|
+
complexity: "Advanced",
|
|
411
|
+
timeEstimate: "30 minutes",
|
|
412
|
+
features: [
|
|
413
|
+
"Fully containerized application",
|
|
414
|
+
"Auto-scaling based on traffic",
|
|
415
|
+
"Pay only for actual usage",
|
|
416
|
+
"Global load balancing",
|
|
417
|
+
"Integrated with Google Cloud services"
|
|
418
|
+
],
|
|
419
|
+
steps: [
|
|
420
|
+
{
|
|
421
|
+
title: "Create Dockerfile",
|
|
422
|
+
description: "Create a Dockerfile for your Next.js application",
|
|
423
|
+
code: `FROM node:18-alpine
|
|
424
|
+
WORKDIR /app
|
|
425
|
+
COPY package*.json ./
|
|
426
|
+
RUN npm ci --only=production
|
|
427
|
+
COPY . .
|
|
428
|
+
RUN npm run build
|
|
429
|
+
EXPOSE 3000
|
|
430
|
+
CMD ["npm", "start"]`
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
title: "Build and Deploy",
|
|
434
|
+
description: "Build and deploy to Google Cloud Run",
|
|
435
|
+
code: "gcloud run deploy --source ."
|
|
436
|
+
}
|
|
437
|
+
]
|
|
438
|
+
}
|
|
439
|
+
]
|
|
440
|
+
|
|
441
|
+
return (
|
|
442
|
+
<PageTransition type="slide" direction="up" duration={300}>
|
|
443
|
+
<main className={`min-h-screen ${glass.background.primary} relative overflow-hidden`}>
|
|
444
|
+
<div className={`absolute inset-0 ${glass.background.accent} opacity-30`} />
|
|
445
|
+
<div className="relative z-10">
|
|
446
|
+
<MobileContainer className="py-8">
|
|
447
|
+
{/* Header */}
|
|
448
|
+
<div className="flex items-center justify-between mb-8">
|
|
449
|
+
<div className="flex items-center gap-4">
|
|
450
|
+
<Link href="/setup" className={`${glass.card} ${glass.border} p-2 rounded-xl ${animations.hover.scale}`}>
|
|
451
|
+
<ArrowLeft className="w-5 h-5" />
|
|
452
|
+
</Link>
|
|
453
|
+
<div>
|
|
454
|
+
<h1 className="text-2xl font-bold">Development & Deployment</h1>
|
|
455
|
+
<p className="text-gray-600 dark:text-gray-300">Claude AI setup and hosting guides</p>
|
|
456
|
+
</div>
|
|
457
|
+
</div>
|
|
458
|
+
<div className={`${glass.card} ${glass.border} px-4 py-2 rounded-xl`}>
|
|
459
|
+
<span className="text-sm font-medium">{projectName}</span>
|
|
460
|
+
</div>
|
|
461
|
+
</div>
|
|
462
|
+
|
|
463
|
+
{/* Tab Navigation */}
|
|
464
|
+
<div className={`${glass.card} ${glass.border} rounded-2xl p-1 mb-8 inline-flex`}>
|
|
465
|
+
<button
|
|
466
|
+
onClick={() => setActiveTab('claude')}
|
|
467
|
+
className={`px-4 py-2 rounded-xl text-sm font-medium transition-all duration-200 ${
|
|
468
|
+
activeTab === 'claude'
|
|
469
|
+
? 'bg-purple-500 text-white shadow-lg'
|
|
470
|
+
: 'text-gray-600 dark:text-gray-300 hover:bg-white/10'
|
|
471
|
+
}`}
|
|
472
|
+
>
|
|
473
|
+
<Bot className="w-4 h-4 inline mr-2" />
|
|
474
|
+
Claude AI Setup
|
|
475
|
+
</button>
|
|
476
|
+
<button
|
|
477
|
+
onClick={() => setActiveTab('deployment')}
|
|
478
|
+
className={`px-4 py-2 rounded-xl text-sm font-medium transition-all duration-200 ${
|
|
479
|
+
activeTab === 'deployment'
|
|
480
|
+
? 'bg-blue-500 text-white shadow-lg'
|
|
481
|
+
: 'text-gray-600 dark:text-gray-300 hover:bg-white/10'
|
|
482
|
+
}`}
|
|
483
|
+
>
|
|
484
|
+
<Rocket className="w-4 h-4 inline mr-2" />
|
|
485
|
+
Deployment
|
|
486
|
+
</button>
|
|
487
|
+
</div>
|
|
488
|
+
|
|
489
|
+
{activeTab === 'claude' && (
|
|
490
|
+
<>
|
|
491
|
+
{/* Claude AI Development Setup */}
|
|
492
|
+
<div className={`${glass.card} ${glass.border} rounded-2xl p-6 mb-8`}>
|
|
493
|
+
<div className="flex items-center gap-4 mb-6">
|
|
494
|
+
<div className={`w-12 h-12 rounded-xl bg-gradient-to-r from-purple-500 to-blue-500 flex items-center justify-center`}>
|
|
495
|
+
<Bot className="w-6 h-6 text-white" />
|
|
496
|
+
</div>
|
|
497
|
+
<div>
|
|
498
|
+
<h2 className="text-xl font-semibold">Claude AI Development Setup</h2>
|
|
499
|
+
<p className="text-gray-600 dark:text-gray-300">Supercharge your development workflow with AI assistance</p>
|
|
500
|
+
</div>
|
|
501
|
+
</div>
|
|
502
|
+
|
|
503
|
+
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
|
|
504
|
+
<div className="text-center p-4 rounded-xl bg-purple-500/10">
|
|
505
|
+
<Terminal className="w-8 h-8 text-purple-400 mx-auto mb-2" />
|
|
506
|
+
<div className="font-medium">Claude CLI</div>
|
|
507
|
+
<div className="text-sm text-gray-600 dark:text-gray-300">Command-line AI assistant</div>
|
|
508
|
+
</div>
|
|
509
|
+
<div className="text-center p-4 rounded-xl bg-blue-500/10">
|
|
510
|
+
<FileText className="w-8 h-8 text-blue-400 mx-auto mb-2" />
|
|
511
|
+
<div className="font-medium">Smart Context</div>
|
|
512
|
+
<div className="text-sm text-gray-600 dark:text-gray-300">Project-aware assistance</div>
|
|
513
|
+
</div>
|
|
514
|
+
<div className="text-center p-4 rounded-xl bg-green-500/10">
|
|
515
|
+
<Zap className="w-8 h-8 text-green-400 mx-auto mb-2" />
|
|
516
|
+
<div className="font-medium">Auto-Setup</div>
|
|
517
|
+
<div className="text-sm text-gray-600 dark:text-gray-300">Generated configuration</div>
|
|
518
|
+
</div>
|
|
519
|
+
</div>
|
|
520
|
+
|
|
521
|
+
<div className="space-y-6">
|
|
522
|
+
{/* Step 1: Install Claude CLI */}
|
|
523
|
+
<div className="flex gap-4">
|
|
524
|
+
<div className="w-8 h-8 rounded-full bg-purple-500 text-white text-sm flex items-center justify-center flex-shrink-0 mt-0.5">
|
|
525
|
+
1
|
|
526
|
+
</div>
|
|
527
|
+
<div className="flex-1">
|
|
528
|
+
<h3 className="font-semibold mb-2">Install Claude CLI</h3>
|
|
529
|
+
<p className="text-sm text-gray-600 dark:text-gray-300 mb-3">
|
|
530
|
+
Install the Claude CLI to get AI assistance directly in your terminal
|
|
531
|
+
</p>
|
|
532
|
+
<div className="bg-gray-900 rounded-xl p-4">
|
|
533
|
+
<pre className="text-green-400 text-sm">npm install -g @anthropic-ai/claude-cli</pre>
|
|
534
|
+
<button
|
|
535
|
+
onClick={() => copyToClipboard('npm install -g @anthropic-ai/claude-cli', 'claude-install')}
|
|
536
|
+
className="mt-2 flex items-center gap-2 text-xs text-gray-400 hover:text-white transition-colors"
|
|
537
|
+
>
|
|
538
|
+
<Copy className="w-3 h-3" />
|
|
539
|
+
{copiedItem === 'claude-install' ? 'Copied!' : 'Copy command'}
|
|
540
|
+
</button>
|
|
541
|
+
</div>
|
|
542
|
+
</div>
|
|
543
|
+
</div>
|
|
544
|
+
|
|
545
|
+
{/* Step 2: Generate .claude file */}
|
|
546
|
+
<div className="flex gap-4">
|
|
547
|
+
<div className="w-8 h-8 rounded-full bg-purple-500 text-white text-sm flex items-center justify-center flex-shrink-0 mt-0.5">
|
|
548
|
+
2
|
|
549
|
+
</div>
|
|
550
|
+
<div className="flex-1">
|
|
551
|
+
<h3 className="font-semibold mb-2">Create .claude Configuration</h3>
|
|
552
|
+
<p className="text-sm text-gray-600 dark:text-gray-300 mb-3">
|
|
553
|
+
Create a .claude file in your project root with this optimized configuration
|
|
554
|
+
</p>
|
|
555
|
+
<div className="bg-gray-900 rounded-xl p-4 overflow-x-auto">
|
|
556
|
+
<pre className="text-green-400 text-xs">
|
|
557
|
+
{JSON.stringify(claudeConfig, null, 2)}
|
|
558
|
+
</pre>
|
|
559
|
+
<button
|
|
560
|
+
onClick={() => copyToClipboard(JSON.stringify(claudeConfig, null, 2), 'claude-config')}
|
|
561
|
+
className="mt-2 flex items-center gap-2 text-xs text-gray-400 hover:text-white transition-colors"
|
|
562
|
+
>
|
|
563
|
+
<Copy className="w-3 h-3" />
|
|
564
|
+
{copiedItem === 'claude-config' ? 'Copied!' : 'Copy .claude configuration'}
|
|
565
|
+
</button>
|
|
566
|
+
</div>
|
|
567
|
+
</div>
|
|
568
|
+
</div>
|
|
569
|
+
|
|
570
|
+
{/* Step 3: Create context.md */}
|
|
571
|
+
<div className="flex gap-4">
|
|
572
|
+
<div className="w-8 h-8 rounded-full bg-purple-500 text-white text-sm flex items-center justify-center flex-shrink-0 mt-0.5">
|
|
573
|
+
3
|
|
574
|
+
</div>
|
|
575
|
+
<div className="flex-1">
|
|
576
|
+
<h3 className="font-semibold mb-2">Create Context Documentation</h3>
|
|
577
|
+
<p className="text-sm text-gray-600 dark:text-gray-300 mb-3">
|
|
578
|
+
Create a context.md file with comprehensive project documentation
|
|
579
|
+
</p>
|
|
580
|
+
<details className="mb-3">
|
|
581
|
+
<summary className="text-sm text-blue-400 cursor-pointer hover:text-blue-300">
|
|
582
|
+
Show context.md content
|
|
583
|
+
</summary>
|
|
584
|
+
<div className="bg-gray-900 rounded-xl p-4 mt-2 overflow-x-auto max-h-64">
|
|
585
|
+
<pre className="text-green-400 text-xs whitespace-pre-wrap">{contextContent}</pre>
|
|
586
|
+
<button
|
|
587
|
+
onClick={() => copyToClipboard(contextContent, 'context-content')}
|
|
588
|
+
className="mt-2 flex items-center gap-2 text-xs text-gray-400 hover:text-white transition-colors"
|
|
589
|
+
>
|
|
590
|
+
<Copy className="w-3 h-3" />
|
|
591
|
+
{copiedItem === 'context-content' ? 'Copied!' : 'Copy context.md content'}
|
|
592
|
+
</button>
|
|
593
|
+
</div>
|
|
594
|
+
</details>
|
|
595
|
+
</div>
|
|
596
|
+
</div>
|
|
597
|
+
|
|
598
|
+
{/* Step 4: Usage Examples */}
|
|
599
|
+
<div className="flex gap-4">
|
|
600
|
+
<div className="w-8 h-8 rounded-full bg-purple-500 text-white text-sm flex items-center justify-center flex-shrink-0 mt-0.5">
|
|
601
|
+
4
|
|
602
|
+
</div>
|
|
603
|
+
<div className="flex-1">
|
|
604
|
+
<h3 className="font-semibold mb-2">Start Using Claude AI</h3>
|
|
605
|
+
<p className="text-sm text-gray-600 dark:text-gray-300 mb-3">
|
|
606
|
+
Common commands to supercharge your development workflow
|
|
607
|
+
</p>
|
|
608
|
+
<div className="space-y-3">
|
|
609
|
+
<div className="bg-gray-900 rounded-lg p-3">
|
|
610
|
+
<div className="text-blue-400 text-sm mb-1">Generate new component:</div>
|
|
611
|
+
<code className="text-green-400 text-xs">claude "Create a new user profile component with glassmorphism styling"</code>
|
|
612
|
+
</div>
|
|
613
|
+
<div className="bg-gray-900 rounded-lg p-3">
|
|
614
|
+
<div className="text-blue-400 text-sm mb-1">Debug issues:</div>
|
|
615
|
+
<code className="text-green-400 text-xs">claude "Help me debug this authentication error"</code>
|
|
616
|
+
</div>
|
|
617
|
+
<div className="bg-gray-900 rounded-lg p-3">
|
|
618
|
+
<div className="text-blue-400 text-sm mb-1">Add features:</div>
|
|
619
|
+
<code className="text-green-400 text-xs">claude "Add a dark mode toggle to the header component"</code>
|
|
620
|
+
</div>
|
|
621
|
+
</div>
|
|
622
|
+
</div>
|
|
623
|
+
</div>
|
|
624
|
+
</div>
|
|
625
|
+
</div>
|
|
626
|
+
|
|
627
|
+
{/* Package Documentation Quick Reference */}
|
|
628
|
+
<div className={`${glass.card} ${glass.border} rounded-2xl p-6 mb-8`}>
|
|
629
|
+
<h3 className="text-lg font-semibold mb-4 flex items-center gap-2">
|
|
630
|
+
<Book className="w-5 h-5 text-blue-400" />
|
|
631
|
+
Package Documentation Quick Reference
|
|
632
|
+
</h3>
|
|
633
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
634
|
+
{packageDocs.map((pkg, index) => (
|
|
635
|
+
<div key={index} className={`${glass.card} ${glass.border} rounded-xl p-4`}>
|
|
636
|
+
<h4 className="font-semibold text-sm mb-2">{pkg.name}</h4>
|
|
637
|
+
<p className="text-xs text-gray-600 dark:text-gray-300 mb-3">{pkg.description}</p>
|
|
638
|
+
<div className="text-xs">
|
|
639
|
+
<div className="text-blue-400 mb-1">Key Exports:</div>
|
|
640
|
+
<div className="text-gray-500">{pkg.key_exports.join(', ')}</div>
|
|
641
|
+
</div>
|
|
642
|
+
<a
|
|
643
|
+
href={pkg.docs_link}
|
|
644
|
+
target="_blank"
|
|
645
|
+
rel="noopener noreferrer"
|
|
646
|
+
className="inline-flex items-center gap-1 text-xs text-blue-400 hover:text-blue-300 mt-2"
|
|
647
|
+
>
|
|
648
|
+
View Docs <ExternalLink className="w-3 h-3" />
|
|
649
|
+
</a>
|
|
650
|
+
</div>
|
|
651
|
+
))}
|
|
652
|
+
</div>
|
|
653
|
+
</div>
|
|
654
|
+
</>
|
|
655
|
+
)}
|
|
656
|
+
|
|
657
|
+
{activeTab === 'deployment' && (
|
|
658
|
+
<>
|
|
659
|
+
{/* Deployment Options */}
|
|
660
|
+
<div className="space-y-8">
|
|
661
|
+
<h2 className="text-xl font-semibold mb-6">Choose Your Deployment Platform</h2>
|
|
662
|
+
|
|
663
|
+
{deploymentOptions.map((option, index) => {
|
|
664
|
+
const OptionIcon = option.icon
|
|
665
|
+
return (
|
|
666
|
+
<div key={index} className={`${glass.card} ${glass.border} rounded-2xl p-6`}>
|
|
667
|
+
<div className="flex items-start justify-between mb-4">
|
|
668
|
+
<div className="flex items-center gap-4">
|
|
669
|
+
<div className={`w-12 h-12 rounded-xl bg-gray-800 flex items-center justify-center`}>
|
|
670
|
+
<OptionIcon className="w-6 h-6 text-white" />
|
|
671
|
+
</div>
|
|
672
|
+
<div>
|
|
673
|
+
<h3 className="text-lg font-semibold flex items-center gap-3">
|
|
674
|
+
{option.name}
|
|
675
|
+
<span className={`px-2 py-1 rounded-full text-xs font-medium ${
|
|
676
|
+
option.complexity === 'Easy' ? 'bg-green-500/20 text-green-400' :
|
|
677
|
+
option.complexity === 'Medium' ? 'bg-yellow-500/20 text-yellow-400' :
|
|
678
|
+
'bg-red-500/20 text-red-400'
|
|
679
|
+
}`}>
|
|
680
|
+
{option.complexity}
|
|
681
|
+
</span>
|
|
682
|
+
</h3>
|
|
683
|
+
<p className="text-sm text-gray-600 dark:text-gray-300">{option.description}</p>
|
|
684
|
+
<div className="text-xs text-blue-400 mt-1">⏱️ {option.timeEstimate}</div>
|
|
685
|
+
</div>
|
|
686
|
+
</div>
|
|
687
|
+
</div>
|
|
688
|
+
|
|
689
|
+
{/* Features */}
|
|
690
|
+
<div className="mb-6">
|
|
691
|
+
<h4 className="font-semibold mb-3">Features:</h4>
|
|
692
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
|
693
|
+
{option.features.map((feature, fIndex) => (
|
|
694
|
+
<div key={fIndex} className="flex items-center gap-2 text-sm">
|
|
695
|
+
<CheckCircle className="w-4 h-4 text-green-400" />
|
|
696
|
+
{feature}
|
|
697
|
+
</div>
|
|
698
|
+
))}
|
|
699
|
+
</div>
|
|
700
|
+
</div>
|
|
701
|
+
|
|
702
|
+
{/* Deployment Steps */}
|
|
703
|
+
<div>
|
|
704
|
+
<h4 className="font-semibold mb-3">Deployment Steps:</h4>
|
|
705
|
+
<div className="space-y-3">
|
|
706
|
+
{option.steps.map((step, stepIndex) => (
|
|
707
|
+
<div key={stepIndex} className="flex gap-3">
|
|
708
|
+
<div className="w-6 h-6 rounded-full bg-blue-500 text-white text-xs flex items-center justify-center flex-shrink-0 mt-0.5">
|
|
709
|
+
{stepIndex + 1}
|
|
710
|
+
</div>
|
|
711
|
+
<div className="flex-1">
|
|
712
|
+
<h5 className="font-medium">{step.title}</h5>
|
|
713
|
+
<p className="text-sm text-gray-600 dark:text-gray-300 mb-2">{step.description}</p>
|
|
714
|
+
{step.code && (
|
|
715
|
+
<div className="bg-gray-900 rounded-lg p-3 mt-2">
|
|
716
|
+
<pre className="text-green-400 text-xs whitespace-pre-wrap">{step.code}</pre>
|
|
717
|
+
</div>
|
|
718
|
+
)}
|
|
719
|
+
{step.link && (
|
|
720
|
+
<a
|
|
721
|
+
href={step.link}
|
|
722
|
+
target="_blank"
|
|
723
|
+
rel="noopener noreferrer"
|
|
724
|
+
className="inline-flex items-center gap-1 text-sm text-blue-400 hover:text-blue-300 mt-2"
|
|
725
|
+
>
|
|
726
|
+
Learn More <ExternalLink className="w-3 h-3" />
|
|
727
|
+
</a>
|
|
728
|
+
)}
|
|
729
|
+
</div>
|
|
730
|
+
</div>
|
|
731
|
+
))}
|
|
732
|
+
</div>
|
|
733
|
+
</div>
|
|
734
|
+
</div>
|
|
735
|
+
)
|
|
736
|
+
})}
|
|
737
|
+
</div>
|
|
738
|
+
|
|
739
|
+
{/* Pre-Deployment Checklist */}
|
|
740
|
+
<div className={`${glass.card} ${glass.border} rounded-2xl p-6 mt-8`}>
|
|
741
|
+
<h3 className="text-lg font-semibold mb-4 flex items-center gap-2">
|
|
742
|
+
<CheckCircle className="w-5 h-5 text-green-400" />
|
|
743
|
+
Pre-Deployment Checklist
|
|
744
|
+
</h3>
|
|
745
|
+
<div className="space-y-3 text-sm">
|
|
746
|
+
<div className="flex items-center gap-3">
|
|
747
|
+
<CheckCircle className="w-5 h-5 text-green-400" />
|
|
748
|
+
<span>Environment variables configured in production</span>
|
|
749
|
+
</div>
|
|
750
|
+
<div className="flex items-center gap-3">
|
|
751
|
+
<CheckCircle className="w-5 h-5 text-green-400" />
|
|
752
|
+
<span>Database tables created and RLS policies enabled</span>
|
|
753
|
+
</div>
|
|
754
|
+
{hasPayments && (
|
|
755
|
+
<div className="flex items-center gap-3">
|
|
756
|
+
<CheckCircle className="w-5 h-5 text-green-400" />
|
|
757
|
+
<span>Stripe webhooks configured for production</span>
|
|
758
|
+
</div>
|
|
759
|
+
)}
|
|
760
|
+
<div className="flex items-center gap-3">
|
|
761
|
+
<CheckCircle className="w-5 h-5 text-green-400" />
|
|
762
|
+
<span>Build succeeds locally: <code className="px-2 py-1 bg-gray-800 rounded">npm run build</code></span>
|
|
763
|
+
</div>
|
|
764
|
+
<div className="flex items-center gap-3">
|
|
765
|
+
<CheckCircle className="w-5 h-5 text-green-400" />
|
|
766
|
+
<span>Tests pass: <code className="px-2 py-1 bg-gray-800 rounded">npm run test</code></span>
|
|
767
|
+
</div>
|
|
768
|
+
<div className="flex items-center gap-3">
|
|
769
|
+
<CheckCircle className="w-5 h-5 text-green-400" />
|
|
770
|
+
<span>Domain and SSL certificate ready (if using custom domain)</span>
|
|
771
|
+
</div>
|
|
772
|
+
</div>
|
|
773
|
+
</div>
|
|
774
|
+
</>
|
|
775
|
+
)}
|
|
776
|
+
|
|
777
|
+
{/* Support Section */}
|
|
778
|
+
<div className={`${glass.card} ${glass.border} rounded-2xl p-6 mt-8 text-center`}>
|
|
779
|
+
<h3 className="text-lg font-semibold mb-4">Need Help?</h3>
|
|
780
|
+
<p className="text-gray-600 dark:text-gray-300 mb-4">
|
|
781
|
+
Our community and support team are here to help with development and deployment.
|
|
782
|
+
</p>
|
|
783
|
+
<div className="flex justify-center gap-4">
|
|
784
|
+
<Button variant="outline" size="sm" asChild>
|
|
785
|
+
<a href="https://discord.gg/digilogiclabs" target="_blank" rel="noopener noreferrer">
|
|
786
|
+
Join Discord
|
|
787
|
+
</a>
|
|
788
|
+
</Button>
|
|
789
|
+
<Button size="sm" asChild>
|
|
790
|
+
<a href="https://docs.digilogiclabs.com" target="_blank" rel="noopener noreferrer">
|
|
791
|
+
View Docs
|
|
792
|
+
</a>
|
|
793
|
+
</Button>
|
|
794
|
+
</div>
|
|
795
|
+
</div>
|
|
796
|
+
</MobileContainer>
|
|
797
|
+
</div>
|
|
798
|
+
</main>
|
|
799
|
+
</PageTransition>
|
|
800
|
+
)
|
|
801
|
+
}
|