System Requirements
Required
- Node.js — 18.x or 20.x (LTS recommended)
- npm — 9+ (or yarn / pnpm)
- PostgreSQL — 14+
- Git — For cloning the repository
- OS — Windows, macOS, or Linux
Optional (for full flow)
- Phantom or another Solana wallet (for crypto payments)
- Helius or another Solana RPC (recommended for payments)
Installation Methods
Method 1: Clone and npm (recommended)
- postinstall runs prisma generate
- DATABASE_URL can be unset at install time
Method 2: After clone — database and run
http://localhost:3000
Production build
- Run
npx prisma migrate deploy - Do not use prisma migrate dev
- Ensure all required env vars are set in the deployment environment
Environment Setup
1. Copy the example file
2. Edit .env
- Fill in your values
- Never commit .env to version control
3. Minimum for Idea → Intent → Platform
- DATABASE_URL
- One of:
- OPENAI_API_KEY
- OPENROUTER_API_KEY_GROK4
- OPENROUTER_API_KEY_QWEN3
- OPENROUTER_API_KEY_GEMINI2_5
4. For Payment → Execution → Completion
Solana
- HELIUS_RPC_URL or NEXT_PUBLIC_SOLANA_RPC_URL
- TREASURY_WALLET
- NEXT_PUBLIC_SCRIPT_TOKEN_MINT
- NEXT_PUBLIC_REOWN_PROJECT_ID (optional, for AppKit)
Dodo
- DODO_API_KEY
- DODO_WEBHOOK_SECRET
- DODO_PRODUCT_ID
- NEXT_PUBLIC_APP_URL
5. For GitHub push on Completion
- GITHUB_CLIENT_ID
- GITHUB_CLIENT_SECRET
- GITHUB_CALLBACK_URL
Configuration
Database (required)
Local
Supabase
- Project → Settings → Database → Connection string (URI)
Neon / Railway
- Connection string from dashboard
AI (required for Idea, Intent, Platform, Execution)
Option A — OpenRouter (Grok, Qwen, Gemini)
- At least one OPENROUTER_API_KEY_* is required
- See OPENROUTER_SETUP.md for model IDs
Option B — OpenAI
Solana (crypto payments)
- Use mainnet and mainnet RPC for production
Reown AppKit (wallet UI)
https://dashboard.reown.com
Dodo (card / UPI payments)
https://dashboard.dodopayments.com Webhook URL:
- Use a tunnel (e.g. ngrok)
- Set NEXT_PUBLIC_APP_URL accordingly
GitHub (repo creation and upload)
https://github.com/settings/developers For production:
Pricing (optional)
Other (optional)
Verification
1. Database
2. App
http://localhost:3000
- Home page loads
3. Idea (/)
- Enter an idea
- Submit
- Analysis and clarifying questions appear
4. Intent (/intent)
- Answer the questions
- Refined requirements appear
5. Platform (/platform)
- Platform options with cost and timeline appear
6. Payment (/payment)
- Solana: Wallet connect (Phantom / AppKit) works
- Dodo: “Buy with Card” appears and redirects to Dodo Checkout
7. Execution & Completion
After successful payment:- Execution runs
- Completion shows summary and ZIP download