- Node.js (v16 or higher) - Download here
- OpenAI API Key - Get one here
# Clone or download the project
cd interview-assistant
# Install all dependencies
npm install
# Set up environment
cp env.example .envEdit the .env file and add your API key:
OPENAI_API_KEY=your-api-key-here
# Start everything (backend + desktop app)
npm run devIf you prefer to run components separately:
# Terminal 1: Start backend server
npm run server
# Terminal 2: Start desktop app
npm run electron-dev- Set up your profile: Click "Resume Manager" and fill in your details
- Test recording: Click the microphone button and say "Tell me about yourself"
- Generate answer: Click "Generate Perfect Answer" to see AI response
- Listen: Click "Speak Answer" to hear it aloud
"Cannot find module" errors:
npm installMicrophone not working:
- Check system permissions
- Close other apps using microphone
- Try refreshing the app
OpenAI API errors:
- Verify your API key is correct
- Check you have credits in your OpenAI account
- Ensure you have access to GPT-4o and Whisper APIs
Port already in use:
# Kill process on port 5000
npx kill-port 5000
npm run dev- Check the console for error messages
- Ensure all environment variables are set
- Verify internet connection for API calls
# Build the application
npm run build
# Package for your platform
npm run electron-packBuilt files will be in the dist/ folder.
The app should now be running. Start by setting up your resume data and testing the voice recording feature.
Happy interviewing! 🎯