Go directly to The Rom-Com Movie Rating App
It’s not really much of a secret that my favourite genre of movie is the Romantic Comedy. My idea of a perfect rainy day afternoon is curling up in front of the television with tea and cookies after discovering that “Runaway Bride” is playing on the Women’s Network. I haven’t seen any of the “important” movies like Star Wars or The Matrix or any of The Lord of the Rings, but I have seen Love, Actually and 10 Things I Hate About You at least a dozen times.
My most recent assignment for HackerYou’s full-time web development course was to design and build a web app from the ground up that used API from The Movie Database to pull content. I think it’s pretty safe to say that this was the most challenging projects that I’ve had so far in the course, but luckily most of the really tricky parts were done as a group. If someone could have shown me two weeks ago before I started this project what the code would look like in the end, I would have laughed in their face. But! I made this. Despite the degree of difficulty and some of the ongoing bugs I’m having with the site at this stage, it’s been a really rewarding process!
For my movie app I decided to use the API to pull the top rated movies in the database that included the genres of both “romance” and “comedy” in their description. Since there was no “romantic comedy” genre on it’s own, I had to code it so that only movies listed as both genres would appear in the app.
When you rate the movie I coded a little pop-up box to appear after you cast your vote. As a special “easter egg” kind of thing, I also programmed the pop-up to show the movie’s tagline (if it exists, some movies don’t have them, sadly). I discovered the tagline feature when I dove a little off the deep end of the API documentation and thought it would be a fun thing to incorporate into my app, since movie taglines are probably not overly well known. For instance, did you know the tagline for Aladdin was “Wish Granted!”? Me neither!