An elegant web application that allows you to search and discover detailed information about your favorite movies, TV series, and games using the OMDB API.
- 🎬 Search Movies & TV Series - Find detailed information about movies and TV shows
- 🎮 Search by ID - Look up content using OMDB ID
- 📋 Pagination - Browse through search results easily
- 🎨 Responsive Design - Modern and user-friendly interface
- 📊 Comprehensive Details - View plot, ratings, cast, release date, and more
Before you begin, ensure you have the following installed:
- Clone the repository:
git clone https://github.com/TheInfinity007/Movie-Search-App.git
cd Movie-Search-App- Install dependencies:
npm install- Create a
.envfile in the root directory and add your OMDB API key:
OMDB_API_KEY=your_api_key_here
Get your free API key from OMDB API
Update the config.js file with your OMDB API configuration if needed.
- Start the application:
npm start- Open your browser and navigate to:
http://localhost:3000
- Use the search interface to find:
- Movies by title (with optional year filter)
- TV series by title
- Content by OMDB ID
Movie-Searcher-App/
├── app.js # Main application file
├── config.js # Configuration file
├── package.json # Project dependencies
├── README.md # This file
├── public/ # Static files
│ ├── images/ # Image assets
│ └── stylesheets/
│ └── main.css # Main stylesheet
└── views/ # EJS templates
├── search.ejs # Search page
├── results.ejs # Search results page
├── show.ejs # Movie details page
└── partials/
├── header.ejs # Header template
└── footer.ejs # Footer template
- Backend: Node.js, Express.js
- Frontend: EJS (Embedded JavaScript templating)
- Styling: CSS
- HTTP Client: request
- Middleware: body-parser
- Environment Management: dotenv
- API: OMDB API
express- Web framework for Node.jsejs- Templating enginebody-parser- Middleware for parsing request bodiesrequest- HTTP client for API callsdotenv- Environment variable management
This app uses the OMDB API (Open Movie Database) for fetching movie and TV show data.
Learn more: OMDB API Documentation
ISC
TheInfinity007