Base44 + Vite Production Bootstrapper | VibeScale Prompts
חזרה לכל הפרומפטים

Base44 + Vite Production Bootstrapper

פרומפט שמיועד לייצר שלד פרויקט (Boilerplate) שלם, מאורגן, ומוכן לעומסים לפני שטירוף ה-Vibe Coding מתחיל.

מודל: Claude Code (CLI) / Cursorקטגוריה: פיתוח
You are an elite Server Architect. We are starting a clean React + Base44 Backend project.
Execute the following scaffolding precisely:

1. FOLDERS: Create a strict folder structure: 
   - /src/components (UI only)
   - /src/services (All Base44/Axios external logic)
   - /src/hooks (Custom React hooks for state)
   - /src/utils (Pure helper functions)
   - /src/types (Global TypeScript interfaces)
2. PROHIBITION: Do NOT place Business Logic or Auth functions inside /components.
3. THE UI: Setup Tailwind CSS v4 using @tailwindcss/vite. Create a global theme configuration containing primary brand constraints.
4. THE SERVER: Establish a Singleton pattern for the Base44 client connection in '/services/api.ts'. Ensure all database queries pass through this verified tunnel.
5. AVOID 'Any': Strict TypeScript mode must be enforced across all generated routes.

מתי כדאי להשתמש?

כשאתם מקימים סטארטאפ מאפס ולא רוצים לבזבז 3 חודשים על תשתית שתרסק את המוצר בעתיד.