A React + Vite application for uploading PDF resumes and sending them to a processing API.
- Install dependencies:
npm install- Create a
.envfile in the frontend directory with your API endpoint:
VITE_PROCESS_RESUME_API_URL=https://your-api-endpoint.com/process-resume
- Start the development server:
npm run dev- PDF file upload (single or multiple files)
- Email input for notifications
- Converts PDF files to base64 and sends to API
- Displays file size and validation
VITE_PROCESS_RESUME_API_URL- The API endpoint for processing resumes (required)
The application sends POST requests with the following JSON structure:
{
"email": "user@example.com",
"files": [
{
"filename": "resume.pdf",
"content": "base64-encoded-pdf-content"
}
]
}change