Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@
# Get your API key from: https://console.anthropic.com/
# ANTHROPIC_API_KEY="your_anthropic_api_key_here"

# Example: Database connection string
# DB_CONNECTION_STRING="your_database_connection_string_here"

# Example: Port
# PORT=3000
4 changes: 3 additions & 1 deletion backend/src/controllers/ai.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ export const analyzeResume = async (
jobDescription,
});

res.status(200).json(result);
res
.status(200)
.json({ resumeText: cleanResumeText, jobDescription, feedback: result });
} catch (error) {
console.error("Error in analyzeResume:", error);
res.status(500).json({
Expand Down