Skip to content

Fix: Resume upload endpoint /api/v1/resumes/upload returning 404 #511

@adityasingh-0803

Description

@adityasingh-0803

Problem:
The frontend upload call failed with a 404 because the backend route /api/v1/resumes/upload was missing or mismatched.

Solution:

Implemented the /api/v1/resumes/upload endpoint in the FastAPI backend.

Validates uploaded files (only PDF, DOC, DOCX; max 5 MB).

Saves uploaded files to /tmp/resumes/ (can be modified to permanent storage).

Updated frontend API call to match the backend route.

Added backend tests to verify valid and invalid uploads.

Added UI error handling for upload failures.

Benefits:

Resume upload now works end-to-end.

Users receive clear feedback if the file is invalid.

Makes Resume-Matcher fully functional for testing new resumes.

under hacktoberfest 2025 please assign

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions