Skip to content

feat: add Jobs for You section with Adzuna API integration#318

Merged
KaranUnique merged 2 commits into
Canopus-Labs:mainfrom
GitGuru-sudo:feature/job-recommendations
Jul 4, 2026
Merged

feat: add Jobs for You section with Adzuna API integration#318
KaranUnique merged 2 commits into
Canopus-Labs:mainfrom
GitGuru-sudo:feature/job-recommendations

Conversation

@GitGuru-sudo

Copy link
Copy Markdown
Contributor

Related Issue: Closes the "Apply for Jobs" feature request

Summary: Added a "Jobs for You" section with Adzuna API integration for role-matched job listings, MongoDB caching, and a daily cron job.

Type of Change: ✨ New feature

How Has This Been Tested?

  • Manually tested GET /api/jobs returns cached jobs when cache is fresh, and fetches from Adzuna when stale
  • Verified sidebar navigation renders "Jobs for You" entry under new "Jobs" section
  • Confirmed all 10 files created/edited match the planned spec

Checklist:

  • My code follows the project's guidelines
  • I have tested my changes
  • I have linked the related issue
  • My changes do not introduce new warnings or errors

@GitGuru-sudo

Copy link
Copy Markdown
Contributor Author

please review and close @PranavAgarkar07

@KaranUnique

Copy link
Copy Markdown
Contributor

@GitGuru-sudo Could you please share a few screenshots of the UI? I'd like to review how the Jobs for You section looks

- Remove ADZUNA_APP_ID/ADZUNA_API_KEY from required env vars so the
  server boots without them (previously process.exit(1) on missing keys
  took down the entire backend for anyone without Adzuna credentials)
- Guard getJobs and refreshJobCache with isAdzunaConfigured() so the
  feature degrades gracefully instead of returning 500s when unset
- Gate boot-time cache cron behind key presence in server.js
- Drop invalid content_type query param that caused Adzuna to reject
  every search request with HTTP 400
@GitGuru-sudo

Copy link
Copy Markdown
Contributor Author
image

@GitGuru-sudo

Copy link
Copy Markdown
Contributor Author

@KaranUnique check this

@KaranUnique KaranUnique merged commit 210e336 into Canopus-Labs:main Jul 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants