← Back to Projects
Movie Search

Movie Search

An early project: a movie search app with debounced queries, clean pagination and smooth image loading.

ReactJavaScriptTheMovieDB APICSS

The problem

Browsing a large media database feels clunky when every keystroke fires a request, or when images pop onto the screen with no loading state. Movie Search debounces input and fades posters in as they load.

What it does

Live Movie Search

Fast title search against TheMovieDB's REST API.

Clean Pagination

Move through multi-page results without losing your place.

Animated Poster Loading

A higher-order component fades each poster in as it downloads.

Global Context

React Context holds the current search query and page number.

Key decisions and tradeoffs

  • Context instead of Redux

    React Context was enough for a query and a page number, and avoided a dependency the app did not need.

    The cost: It would not scale well to a larger app with a lot of shared state.

Hard problems I solved

  • Debouncing and image loading

    The problem
    Typing quickly without debouncing would have hit the API's rate limit, and posters flickered onto the page.
    What I did
    I debounced the search input and wrapped each poster in a higher-order component that fades it in once downloaded.
    The result
    Fewer requests, and smoother browsing. It taught me early how much clear UX matters.