Allow users to search for posts that contain specific keywords on the posts page. This search functionality will enhance the user experience and enable users to find relevant content more efficiently.
Issue Details
Posts Page: Our application features a page that displays various posts from users.
There is no way to search any post at the moment using text.
Expected Behavior
Users should have the capability to search for posts containing specific keywords. This search feature will help users find content that matches their interests or needs.
Acceptance Criteria
Users should be able to enter keywords in a search input field on the posts page.
The search should return a list of posts that contain the entered keywords.
The search results should be displayed in a user-friendly manner, and users should be able to click on a post to view its details.
Efficiently searches mongodb documents and utilizes indexes effectively.
Test with seeder parameter of 1000 users (total of 1000 3), 500 posts (total of 500 3 * 2) - can take a while to seed.
Search bar is reusable in any page for any type of posts table views.
Implementation Guidelines
Integrate a search input field on the posts page.
Implement the logic to perform searches based on the entered keywords.
Ensure that the search results are displayed on the same table, but also ensure the user is able to "exit" the search mode.
Description
Allow users to search for posts that contain specific keywords on the posts page. This search functionality will enhance the user experience and enable users to find relevant content more efficiently.
Issue Details
Expected Behavior
Users should have the capability to search for posts containing specific keywords. This search feature will help users find content that matches their interests or needs.
Acceptance Criteria
Implementation Guidelines