A full-stack application for validating startup ideas through AI-generated user interview questions and social media post generation.
jarvan/
├── frontend/ # React + Vite application
├── backend/ # Node.js + Express API server
└── README.md
-
Navigate to the backend directory:
cd backend -
Install dependencies:
npm install
-
Configure environment variables:
- Copy
.env.exampleto.env(already created) - Add your OpenAI API key to
backend/.env:OPENAI_API_KEY=your_actual_api_key_here
- Copy
-
Start the backend server:
npm start
Or for development with auto-reload:
npm run dev
The backend will run on
http://localhost:3000
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The frontend will run on
http://localhost:5173
Generates 7 structured interview questions based on a business pitch.
Request:
{
"pitch": "Your business pitch text here..."
}Response:
{
"questions": [
"Question 1: Initial Interest & Purchase Intent (1-10 scale)",
"Question 2: Price Sensitivity",
"Question 3: Broader insight question",
"Question 4: Broader insight question",
"Question 5: Broader insight question",
"Question 6: Broader insight question",
"Question 7: Broader insight question"
]
}Question Structure:
- Question 1: Initial Interest & Purchase Intent - 1-10 scale question tailored to the business
- Question 2: Price Sensitivity - Multiple choice or numeric input tailored to the business
- Questions 3-7: Broader insights about product features, preferences, concerns, etc.
- Frontend: React, Vite, TanStack Router, Tailwind CSS
- Backend: Node.js, Express, OpenAI API (GPT-4o-mini)
- AI: OpenAI GPT-4o-mini for question generation
The frontend Vite dev server is configured to proxy API requests to the backend server running on port 3000. Make sure both servers are running for full functionality.