ravenloue / TMDB-TrendingSearch

A mobile-friendly webpage that utilizes TMDB's API to retrieve daily or weekly trends for movies, tv shows and people involved in the industry.
https://ravenloue.github.io/TMDB-TrendingSearch/public/
1 stars 0 forks source link
bootstrap5 movie-database-website trending-actors trending-directors trending-movies trending-tv typescript

TMDB-TrendingSearch

A mobile-friendly webpage that utilizes TMDB's API to retrieve daily or weekly trends for movies, tv shows and people involved in the industry.

Table of contents

Overview

A small cog in a larger project; TMDB-TrendingSearch is the first entry in a series of pages that explore the functionality of The Movie DB API and provide me with the opportunity to learn more about various frameworks for frontend development.

TMDB-TrendingSearch allows users to search for the weekly or daily trends in movies, tv shows and various people involved in the motion picture industry.

The challenge

Users should be able to:

Screenshots

x x x

My process

First, I reviewed the video from Andy's Tech Tutorials (link in resources) and combined that with my experience from the Mammoth Interactive tutorial projects to create the most barebones functioning webpage. I spent a long time messing around with learning to use more of Bootstrap 5's options in order to tweak the cards to a good shape. Thanks to The Net Ninja, I was able to figure out how to get interfaces into separate files by using modules, and they really helped me understand the errors regarding why JavaScript would run fine even though the TypeScript compiler would throw errors regarding what properties to expect from the json file.

Built with

What I learned

Continued development

I've still got a few things that I want to do with the page before I move on to another project. Namely: -[x] ~Make the size of the title cards more uniform~ -[x] ~Potentially truncate the longer titles and have a on-hover effect to reveal the full name~ -[x] ~On-click pop-in cards that reveal more information about the particular object~

Useful resources

Author

Acknowledgements

I was looking for some inspiration for a new project to further develop my skills, and many of the articles I read mentioned creating a webpage that connects to a movie database to pull information on movies onto cards. The one I originally looked at suggested IMDB (because of its familiarity, I presume), but when I looked into using the API, I couldn't find free access (perhaps I just overlooked it). However, when looking up videos on how to connect to IMDB, I came across a video by Andy's Tech Tutorials on YouTube that demonstrated how to use The Movie DB's API, and thus my project had a foothold.

Big thanks to TMDB for allowing us developers have access to your API for non-commercial use at no cost, and for providing great documentation on the structure of the documents returned by each type of call. I've learned a lot so far, and I can't wait to continue on.

Another big thank you to The Net Ninja for their tutorial series on TypeScript. I had a bit of familiarity with it going in, but this series made a HUGE difference in the amount of time it took me to get the basics of this up and running.