The app is currently running in demo mode with mock data. No additional setup is required to test the basic functionality.
To enable real AI-powered resume analysis, create a .env.local file in the project root with the following minimal environment variables:
# === REQUIRED VARIABLES ===
# MongoDB Configuration (Required for user data persistence)
MONGODB_URI=mongodb://localhost:27017/hireme_ai
# NextAuth Configuration (Required for authentication)
NEXTAUTH_SECRET=your-nextauth-secret-key-here
NEXTAUTH_URL=http://localhost:3000
# === OPTIONAL VARIABLES ===
# OpenAI Configuration (Optional - enables AI resume analysis)
OPENAI_API_KEY=your_actual_openai_api_key_here
# Google OAuth (Optional - enables Google sign-in)
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
# LinkedIn Integration (Optional - for job search features)
LINKEDIN_CLIENT_ID=your-linkedin-client-id
LINKEDIN_CLIENT_SECRET=your-linkedin-client-secret| Variable | Required | Purpose | Example |
|---|---|---|---|
MONGODB_URI |
✅ | Database connection string | mongodb://localhost:27017/hireme_ai |
NEXTAUTH_SECRET |
✅ | Session encryption key | Generated via openssl rand -base64 32 |
NEXTAUTH_URL |
✅ | Authentication callback URL | http://localhost:3000 |
OPENAI_API_KEY |
❌ | AI analysis capability | From https://platform.openai.com |
GOOGLE_CLIENT_ID |
❌ | Google OAuth login | From Google Cloud Console |
GOOGLE_CLIENT_SECRET |
❌ | Google OAuth secret | From Google Cloud Console |
- Visit https://platform.openai.com/
- Sign up or log in to your account
- Go to API Keys section
- Create a new API key
- Copy the key and paste it in your
.env.localfile
✅ Working Features (Demo Mode):
- User registration and sign-in
- Resume upload and analysis (mock data)
- LinkedIn job search integration
- Complete user flow from analysis to job applications
✅ Ready for Production:
- All components are built and functional
- Mock data provides realistic demo experience
- Easy to switch to real AI analysis with API key
- Visit http://localhost:3001
- Try the resume analysis on the homepage (no account needed)
- Sign up for an account
- Upload a resume after signing in
- See the LinkedIn job recommendations
- Click "Apply on LinkedIn" to test the job application flow
The app is fully functional in demo mode!