Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anoushka application search backend #1188

Merged
merged 5 commits into from
Dec 29, 2024

Conversation

Anoushka21
Copy link
Contributor

Description

image

  • Search API was already implemented in existing code so I worked on 2,3 and 4.

Related PRS (if any):

This is a backend PR. You can use Postman to test functionality.

Main changes explained:

  • Added a summaries API which fetch job summaries with pagination, search, filtering, and sorting when provided a job title or category. The summary API only shows title,category,location,description,datePosted,featured columns
  • Added a job suggestions API which gives suggestions for a drop down menu given s job title search query.
  • Added a reset Filter API which resets filters and returns all jobs sorted by title, date posted and featured or not

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Go to Postman and test out the endpoints
  4. Use GET http://localhost:4500/api/jobs/summaries?search=Analyst for testing Summary API
  5. Use GET http://localhost:4500/api/jobs/suggestions?query=an for testing the Drop down suggestion API
  6. Use GET http://localhost:4500/api/jobs/reset-filters for reset filter

Screenshots or videos of changes:

PR.mp4

@mashpotato9
Copy link

I've reviewed this pr and all the functionalities worked as expected.
Screenshot 2024-12-21 at 5 47 14 PM
Screenshot 2024-12-21 at 5 48 08 PM
Screenshot 2024-12-21 at 5 48 41 PM

@one-community one-community merged commit 28dd3f4 into development Dec 29, 2024
3 checks passed
@one-community one-community changed the title Anoushka application search Anoushka application search backend Dec 29, 2024
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.

3 participants