Skip to content

Ai interview resume upload #124

Open
Priyamanjare54 wants to merge 3 commits intotarinagarwal:mainfrom
Priyamanjare54:Ai-interview-resume-upload
Open

Ai interview resume upload #124
Priyamanjare54 wants to merge 3 commits intotarinagarwal:mainfrom
Priyamanjare54:Ai-interview-resume-upload

Conversation

@Priyamanjare54
Copy link

📝 PR Description

1. Summary

This PR adds backend support for uploading and parsing candidate resumes (PDF/TXT).
Key features:

  • Extracts name, role, skills, and years of experience from resumes
  • Stores resumes on Cloudflare R2
  • Saves parsed data in the database for generating AI-driven interview questions
  • Includes unit tests for parser functionality

2. Related Issue

Closes #119


3. Type of Change

  • New feature
  • Test update

4. Testing Instructions

  1. Set up .env with R2 credentials and JWT secret
  2. Install dependencies: npm install
  3. Start the server: npm run dev
  4. Test API endpoints with Postman:
    • POST /api/interviews/upload-resume → Upload PDF/TXT resumes
    • GET /api/interviews/candidates → Verify parsed data
  5. Run unit tests: npm test
  6. Verify error handling for invalid file types, empty files, or files >5MB

5. Notes

  • pdf-parse is used for PDF extraction
  • Skills extraction is dynamic, not limited to a static list
  • Ensure R2 environment variables are configured before testing

SWOC 2026 Participant?
YES

@tarinagarwal
Copy link
Owner

@Priyamanjare54 please attach the relevant screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] AI Interview-Resume Upload & Basic Parsing

2 participants