A Ruby on Rails application that allows the user to perform searches against the OMDB api. OMDB is an open source movie database containing over 280,000 movies.
This project was created as part of a job interview process. The specifications for this project were as follows:
Build a basic, functioning application that consumes the OMDB api. Specifically, it should do the following:
- Allow a user to enter a search term
- Execute a search on the OMDB api.
- Get the results back, parse them and display them some way.
- Allow the user to select one of the results.
- Make another call to the API to get details on that selection.
- Parse and display the details.
A live demo of the completed site can be found at https://omdb-database-search-demo.herokuapp.com
On the home page, users can search for any movie from the OMDB api via keyword:
Upon searching, the user is presented with results from the API:
The user can click on any movie for a brief synopsis:
To run this application locally, you will need to have Ruby and Rails installed on your machine. You can find instructions on how to install Ruby on Rails here. You will also need to have Node.js installed on your machine. You can find instructions on how to install Node.js here. I also recommend using NVM to manage your Node.js versions. You can find instructions on how to install NVM here Finally, you will need to have Yarn installed on your machine. You can find instructions on how to install Yarn here.
Once you have Ruby on Rails installed, you can clone this repository and run the following commands in your terminal:
nvm install 16.15.0
yarn install
rails s