Interlix is a full-stack interview preparation platform that analyzes a candidate's resume against a target job description, then generates tailored interview prep materials with AI.
The project is split into:
Frontend/: React + Vite clientBackend/: Express + MongoDB API with AI-powered analysis and test generation
Users can:
- Register, log in, and stay authenticated with cookie-based JWT auth
- Upload a PDF resume
- Add a self-description and target job description
- Generate a session with AI-based resume analysis
- View a match score and identified skill gaps
- Generate interview prep content for a session
- Generate aptitude tests
- Generate technical/DSA-style tests
- Download an AI-refined PDF resume
- Revisit previous sessions from dashboard/history views
- React 19
- React Router 7
- Vite 8
- Axios
- Tailwind CSS 4
- Node.js
- Express 5
- MongoDB + Mongoose
- JWT authentication
- Multer for PDF upload handling
pdf-parsefor extracting resume text- LangChain + Google GenAI for structured AI output
- Puppeteer for PDF resume generation
Interlix/
├── Backend/
│ ├── server.js
│ ├── package.json
│ └── src/
│ ├── app.js
│ ├── config/
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ ├── routes/
│ ├── services/
│ └── utils/
├── Frontend/
│ ├── package.json
│ ├── vite.config.js
│ ├── public/
│ └── src/
│ ├── components/
│ ├── contexts/
│ ├── features/
│ ├── hooks/
│ ├── layouts/
│ └── lib/
└── README.md
- User registers or logs in.
- User uploads a PDF resume and provides:
- self description
- target job description
- Backend extracts text from the PDF.
- AI analyzes the profile and creates a session with:
- a title
- match score
- skill gaps
- User can generate:
- interview report
- aptitude test
- technical test
- refined resume PDF
Public routes:
//login/register
Protected routes:
/app/app/session/:sessionId/app/session/:sessionId/interview/app/session/:sessionId/aptitude/app/session/:sessionId/technical
Base groups:
/api/auth/api/session/api/interview/api/aptitude/api/technical
POST /api/auth/registerPOST /api/auth/loginGET /api/auth/logoutGET /api/auth/get-me
POST /api/session/GET /api/session/GET /api/session/:sessionIdPATCH /api/session/:sessionId
POST /api/interview/:sessionId/generateGET /api/interview/:sessionIdPOST /api/interview/:sessionId/resume/pdf
POST /api/aptitude/:sessionId/generateGET /api/aptitude/:testIdPOST /api/aptitude/:testId/submit
POST /api/technical/:sessionId/generateGET /api/technical/:testIdPOST /api/technical/:testId/submit
Create Backend/.env:
PORT=3000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
GOOGLE_GENAI_API_KEY=your_google_genai_api_key
GOOGLE_GENAI_MODEL=gemini-2.5-flash
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:5174
NODE_ENV=developmentCreate Frontend/.env:
VITE_API_BASE_URL=http://localhost:3000Important:
- The frontend currently falls back to
http://localhost:5000ifVITE_API_BASE_URLis not set. - The backend currently falls back to port
3000. - To make local development work cleanly, set
VITE_API_BASE_URL=http://localhost:3000.
cd Frontend
npm installcd Backend
npm installcd Backend
npm run devcd Frontend
npm run devFrontend default:
http://localhost:5173
Backend default:
http://localhost:3000
npm run dev
npm run build
npm run lint
npm run previewnpm run dev
npm start
npm test- Resume upload accepts PDF files only
- Maximum upload size is 3 MB
- Session creation requires:
- resume PDF
selfDescriptionjobDescription
- Aptitude generation requires:
timeLimitbetween 5 and 60 minutesquestionCountbetween 5 and 30
- Technical test answers are submitted as strings
- Aptitude answers are submitted as option indexes
- Authentication uses JWT stored in cookies
- Protected routes require a valid authenticated user
- Logout blacklists the token and clears the cookie
- CORS is configured to allow credentialed requests from configured frontend origins
The backend AI service is responsible for:
- resume analysis
- match score generation
- skill gap extraction
- interview report generation
- aptitude question generation
- technical question generation
- refined resume HTML/PDF generation
The current default model is:
gemini-2.5-flash
- There is no root-level package script orchestration yet; frontend and backend are started separately.
- Local setup depends on a working MongoDB connection and Google GenAI API key.
- The root README is the best place to start; there are also older package-specific READMEs inside
Frontend/andBackend/.
- Add a root
package.jsonwith combined dev scripts - Add
.env.examplefiles for both apps - Add automated API and UI tests
- Add deployment instructions
- Add screenshots or architecture diagrams
- Standardize frontend/backend default ports to remove setup confusion