Enhancing search functionality for employers
One of Cleversteams’ clients wanted to enhance their search capabilities to find applicants more easily by adding additional fields. The client’s application consisted of a React.js frontend and a Ruby on Rails backend. To begin, I needed to understand how everything fit together and functioned.
I started by adding new RSpec tests for the new search fields. Then, I made amendments to the existing search API endpoint, which was a Rails controller, to accept the new attributes. Afterward, I added tests for the different statuses applicants could be in and updated the logic to filter out applicants with those statuses.
Next, I integrated the changes into the frontend. I added the new fields to the search form on the frontend and included them in the API query to communicate with the backend. After making these adjustments, I conducted tests to ensure that the search functioned correctly with my changes and that searching with the new fields worked fine.
Once I was satisfied with the testing, the changes were passed on to QA for further testing. They were pleased with the results as the new functionality worked as expected and did not break existing features.
Skills
Full Stack Development
Ruby