How palakash160704/ai-startup-idea-validator works
Startup Idea Validation Engine takes a founder’s idea and business context, starts a seven-task analysis, and presents progress, scores, detailed findings, and a GO/PIVOT/KILL verdict. The backend runs the analyses in sequence, using task-specific prompts and an LLM, while keeping session state in memory; the client polls for results and offers charts, PDF export, sharing, and saved history. Theme and navigation support the user experience. Some client and server files were not excerpted, so their connections are omitted or marked unverified rather than assumed.
Main entry points: Results.jsx Results page · App.jsx App routing · validate.js Validation API · validationService.js Task orchestration
Components 20
Client experience
- App routing
client/src/App.jsx - Home page
client/src/pages/Home.jsx - Idea input
client/src/pages/Validate.jsx - Results page
client/src/pages/Results.jsx - History page
client/src/pages/History.jsx - API config
client/src/config/api.js - Navigation
client/src/components/Navbar.jsx - Theme provider
client/src/context/ThemeContext.jsx - Visual analytics
client/src/components/Charts.jsx - Task displays
client/src/components/ResultDisplays.jsx - PDF export
client/src/utils/pdfExport.js
Validation analysis
- Validation API
server/routes/validate.js - Task orchestration
server/services/validationService.js - Analysis prompts
server/lib/prompts.js - LLM client
server/lib/gemini.js - Express server
server/index.js
Session and history
- In-memory sessions
server/lib/sessionStore.js - Browser history
client/src/services/historyService.js
Other components
- Founder
- Groq LLM
Connections 24
- Founder → Home page: opens
README.md - App routing → Home page: routes to
client/src/App.jsx - App routing → Idea input: routes to
client/src/App.jsx - App routing → Results page: routes to
client/src/App.jsx - App routing → History page: routes to
client/src/App.jsx - App routing → Theme provider: provides theme
client/src/App.jsx - Home page → Navigation: uses
client/src/pages/Home.jsx - Navigation → Theme provider: reads and toggles
client/src/components/Navbar.jsx - Idea input → API config: uses endpoint
client/src/pages/Validate.jsx - Idea input → Validation API: submits idea
- Express server → Validation API: mounts routes
server/index.js - Validation API → In-memory sessions: creates and reads
server/routes/validate.js - Validation API → Task orchestration: starts analysis
server/routes/validate.js - Task orchestration → Analysis prompts: builds task prompts
server/services/validationService.js - Task orchestration → LLM client: requests analysis
server/services/validationService.js - Task orchestration → In-memory sessions: updates task results
server/services/validationService.js - LLM client → Groq LLM: calls API
README.md - Results page → API config: uses endpoint
client/src/pages/Results.jsx - Results page → Validation API: polls session
client/src/pages/Results.jsx - Results page → Visual analytics: renders charts
client/src/pages/Results.jsx - Results page → Task displays: formats findings
client/src/pages/Results.jsx - Results page → PDF export: exports report
client/src/pages/Results.jsx - Results page → Browser history: saves completed result
client/src/pages/Results.jsx - History page → Browser history: reads saved items