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

feat: implemented backend api support for keyword-based search mechanism #47

Closed
wants to merge 10 commits into from

Conversation

cindy-wg
Copy link
Contributor

@cindy-wg cindy-wg commented Feb 27, 2025

Implemented a backend change so that the search bar frontend feature (#34) is able to be used to enter a keyword and filter through posts in different categories and pages according to the topic. This is done through an API endpoint that filters through topic titles and keeps ones containing the keyword. The purpose of this is to allow users to search posts by topic based on keywords no matter the page or category they are searching through. Solves #28

Screenshot 2025-02-27 at 3 03 43 PM Searching 'welcome' Screenshot 2025-02-27 at 3 04 05 PM Searching 'hello' Screenshot 2025-02-27 at 3 04 32 PM Searching 'class', which has no results because no topics match the keyword

@cindy-wg cindy-wg added the enhancement New feature or request label Feb 27, 2025
@cindy-wg cindy-wg added this to the Sprint 2 milestone Feb 27, 2025
@cindy-wg cindy-wg self-assigned this Feb 27, 2025
@cindy-wg cindy-wg linked an issue Feb 27, 2025 that may be closed by this pull request
@cindy-wg cindy-wg closed this Feb 27, 2025
@cindy-wg cindy-wg deleted the search-posts-backend branch February 27, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backend: Implement keyword-based search mechanism
2 participants