- Node.js (v16 or higher)
- npm or yarn
- API key from any supported AI provider (see supported providers below)
# Automated installation (recommended)
npm run setup
# OR manual installation
npm install
cd client && npm install && cd ..# Copy environment template (optional - API keys configured in UI)
copy .env.example .envNote: API keys are now configured through the web interface for better security and flexibility. No need to add them to environment files.
# Start both frontend and backend
npm run devThe application will be available at:
- Frontend: http://localhost:3000
- Backend: http://localhost:5000
- Configure API: Click "API Config" to set up your AI provider and API key
- Add Requirements: List all features and functionalities you need
- Select Project Type: Choose from web app, mobile app, etc.
- Set Tech Preferences: Optionally specify preferred technologies
- Generate: Click to create comprehensive deliverables
- Export: Download results as PDF, JSON, SQL, or Mermaid files
- Google AI (Gemini): Free tier available with generous limits
- Groq: Fast inference with free tier
- Hugging Face: Free inference API
- Ollama: Run models locally (completely free)
- Cohere: Free tier available
- OpenAI: GPT-4, GPT-3.5 Turbo
- Anthropic: Claude 3 (Opus, Sonnet, Haiku)
- Together AI: Various open-source models
- Google AI: Gemini Ultra (paid tier)
- Ollama: Run Llama 2, Code Llama, Mistral, and other models locally
- SRS Document: Complete Software Requirements Specification
- Flow Diagrams: System architecture and user flow diagrams
- SQL Schema: Database design with tables, relationships, and queries
- Figma Specifications: Detailed UI/UX design guidelines
- Tech Stack: Recommended technologies with implementation guidance
POST /api/generate- Generate all deliverablesPOST /api/generate/srs- Generate SRS onlyPOST /api/generate/flow-diagram- Generate flow diagram onlyPOST /api/generate/sql-schema- Generate SQL schema onlyPOST /api/generate/figma-design- Generate Figma specs onlyPOST /api/export/pdf- Export as PDFPOST /api/export/json- Export as JSONPOST /api/export/mermaid- Export Mermaid diagramPOST /api/export/sql- Export SQL files
Edit client/src/components/RequirementsInput.js and add new options to the project type select.
Update prompts in server/services/generators.js to customize the AI generation logic.
Extend server/routes/export.js to support additional export formats.
- API Key Error: Ensure your API key is valid and has sufficient credits/quota
- Port Conflicts: Change PORT in .env if 5000 is already in use
- Generation Timeout: Large requirements may take longer; consider breaking them down
- Provider Not Responding: Check if the AI service is available and your API key is correct
- Ollama Connection: Ensure Ollama is running locally on port 11434 for local models
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Pull a model
ollama pull llama2
ollama pull codellama- Go to Google AI Studio
- Create an API key
- Use the key in the API Config
- Sign up at Groq Console
- Generate an API key
- Use the key in the API Config
- Keep requirements concise but detailed
- Use specific project types for better results
- Provide technology preferences for more targeted recommendations
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - see LICENSE file for details