Skip to content

Conversation

@jason301c
Copy link
Contributor

  • Implemented fetch-jobs.ts, and refactored it to be inside of lib instead of /api.
  • Use industry fields inside of filters instead of study fields
  • Ensure that the types match the types from the scraper

Test whether the API works:

  • setup MONGODB_URI on .env
  • run npm run dev, if URL is not localhost:3000, need to set CURRENT_URL on .env
  • go to the jobs page, the data should be the first entry of the MongoDB collection.

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-island-0dae88c00-19.eastasia.4.azurestaticapps.net

@edwnl edwnl changed the title improve overall typing, add industry fields, implement fetchJobs improve overall typing, add industry fields, migrate to server actions Jan 26, 2025
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-island-0dae88c00-19.eastasia.4.azurestaticapps.net

1 similar comment
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-island-0dae88c00-19.eastasia.4.azurestaticapps.net

@edwnl edwnl requested a review from kyranaus January 26, 2025 16:03
@kyranaus kyranaus merged commit 9335a1b into development Jan 26, 2025
2 checks passed
@kyranaus kyranaus deleted the frontend/jason/types branch January 26, 2025 16:13
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.

4 participants