-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Type:
Feature
As a user,
I want to search for movies by title where I can quickly find and access specific movies from the database.
BDD
Given:
The user is on the movie listing page, and a search input field is visible and ready for interaction.
When:
The user types a search term into the input field.
Then:
A search is performed against the movie database, and the results are dynamically displayed based on matching titles.
Tasks
-
Create an API route /api/search to handle case-insensitive queries.
-
Update the frontend component to capture user input and send requests to the API.
-
Display matching results dynamically under the input field.
Acceptance Criteria / Definition of Done
- The search field accepts text input and triggers a request as the user types.
- Results update dynamically without needing to reload the page.
- The API returns matching movie titles using a case-insensitive regex.
- A "no results" message appears if no match is found.
Dependencies
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done