Writing Effective Prompts
The quality of your prompt directly impacts the quality of your app. Clear, detailed descriptions give the AI the context it needs to generate exactly what you want.
- Start with the app type and purpose: "Create a todo app for managing daily tasks" or "Build a tip calculator for restaurant servers"
- Describe the complete user experience: "Users can add items with titles and due dates, mark them complete with a checkbox, and delete by swiping left"
- Specify visual style and branding: "Modern dark theme with purple accents, rounded corners, and subtle shadows on cards"
- Include edge cases and empty states: "Show a friendly message with an illustration when there are no items" or "Display error toast if form validation fails"
- Define data structures: "Each expense has an amount, category, date, and optional note"
- Be iterative: Start with core features, then add complexity through chat conversations
Choosing the Right Framework
Each framework has strengths. Match your choice to your project complexity and what you plan to do with the code afterward.
- Vanilla JS: Best for simple tools, calculators, landing pages, and single-purpose apps. Generates the fastest load times and smallest bundle. Perfect when you want to learn or when performance is critical.
- React: Best for complex state management, interactive dashboards, multi-component architectures, and apps you plan to extend significantly. Component reusability makes maintenance easier.
- Vue: Best for interactive forms, medium complexity apps, and projects where you want a balance between simplicity and power. Excellent for data-driven interfaces.
- When unsure, start with Vanilla JS—you can always regenerate with React later if you need more structure
- Match framework to complexity: Using React for a simple tip calculator adds unnecessary overhead. Using Vanilla JS for a complex dashboard makes the code harder to maintain.
Using Agent Mode
Agent Mode is GenMB's autonomous building capability. It breaks complex requests into steps, executes them sequentially, and handles errors automatically.
- Enable Agent Mode for multi-feature apps with 5 or more distinct features, multiple screens, or complex logic
- Agent Mode creates a plan first, then executes step-by-step. Watch the task list to track progress and understand what's being built.
- The AI automatically retries failed steps up to 3 times with different approaches. You don't need to intervene on transient errors.
- Checkpoints are created after each successful step, allowing rollback to any point if something goes wrong
- Use standard mode for quick prototypes, single-purpose tools, or when you want fast results without the planning phase
- For very complex apps, consider building in stages: generate the core, refine it, then add features incrementally
Iterating with Chat
Chat is your tool for refining generated apps. Specific requests get better results than vague ones.
- Use chat immediately after generation to refine—don't wait until the app is "done"
- Be specific and actionable: "Change the header background color to #1a365d" instead of "make it look better"
- Reference existing elements clearly: "Add a logout button in the top right corner next to the user profile icon"
- Ask for one change at a time for best results. Multiple changes in one message can cause the AI to miss some.
- Use version history to experiment fearlessly—you can always rollback if a change doesn't work out
- If the AI doesn't understand, rephrase with more context: explain what you see and what you want to see instead
PWA Configuration
Progressive Web Apps work offline and can be installed on mobile devices like native apps.
- Enable PWA for any app you want users to access repeatedly, especially mobile users
- PWAs cache content for offline access—users can use your app without internet after the first load
- Users can install your app directly from the browser to their home screen, no app store required
- Customize the app name, short name, and icon in settings before enabling PWA
- Test PWA functionality on actual mobile devices—the install experience varies by browser and OS
- Consider which pages truly need offline access and structure your app accordingly
Deployment Tips
GenMB provides instant deployment to custom subdomains with SSL included.
- Choose a memorable, professional subdomain (yourproject.genmb.com) that reflects your app's purpose
- SSL/HTTPS is configured automatically—no certificates to manage or renew
- Test your app thoroughly in the preview before deploying. Check all features, forms, and edge cases.
- Share the URL directly with users—no app store submission, no review process, no waiting
- Update deployments anytime with one click. Changes go live immediately.
- For production use, consider exporting the code and deploying to your own infrastructure
Using Integrations
Add Supabase, Stripe, and Clerk to your apps with the Integrations panel. GenMB automatically generates code that works with your configured services.
- Enable integrations before generating—the AI uses your config to generate properly integrated code
- Supabase: Add your Project URL and anon key for database, auth, and storage. GenMB will generate proper Supabase client setup and queries.
- Stripe: Add your publishable key for payment forms. The AI generates checkout flows with proper error handling.
- Clerk: Add your publishable key for user authentication. GenMB generates sign-in/sign-up flows and user session management.
- Integrations are per-app—different apps can use different services or configurations
- Your API keys are stored securely and only used during code generation