Demo Application
Explore how to integrate multiple TMDB API endpoints within a React application. Learn to display trending, popular, and detailed data for movies, TV shows, and persons, enabling dynamic content with search and navigation components.
We'll cover the following...
We'll cover the following...
We gained hands-on experience with different Movie Database API endpoints in the previous chapters. Now, we’ll integrate those endpoints into an example application.
Workflow
- When we run the application, the first page we see is the home page. The home page has two main components using the API endpoints—the navigation bar, and flashcards.
- For flashcards, by hovering over them, we can see some basic details of a movie or a TV show. When we click “View Details,” it takes us to the movie or the TV show details page.
- The various options shown on the top-left side of the webpage are discussed below:
- “MovieTV” or “Home” take us to the home page if we are not already there.
- “Movies” takes us to the movies page, where we can see the latest, trending, popular, top-rated, upcoming, and currently playing movies.
- “TV Shows” takes us to the TV page, where we can see the latest, trending, popular, top-rated, airing today, and on the air TV Shows.
- “People”