Skip to content

This project uses the fetch API and the OMDB api to search for movies. It also utilizes MVC and the Javascript singleton pattern.

Notifications You must be signed in to change notification settings

jonathandavidpollock/movieAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search for a movie with the OMDB Movie API

This project utilizes the fetch API and the OMDB api to search for movies. Much like my Spotify Project, this application recieves a request from the user and performs a GET request to the OMDB api. The application the places the results in a list below the search form.

This application utilizes the MVC pattern and the Javascript singleton pattern. Why use the Singleton pattern, you say? Because I wanted to! My friends and I were talking about the pattern, and I wanted to use it in a project. It doesn't necessarily make sense for the application. Quiet frankly, it's overkill. But the Singleton Pattern is a tool you want in your back pocket. I am proud to say I know how to do it now!

Side Note: MVC is Javascript in amazing. Javascript Events for the Win! Think of this, your Models can fire off an event whenever they complete and tell the View, "Hey, I'm done. Here's the data." Just attach the data from your model to a custom Javascript Event!

Learn more about the Singleton Pattern

About

This project uses the fetch API and the OMDB api to search for movies. It also utilizes MVC and the Javascript singleton pattern.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published