Skip to content

Movie Search App 🎬 A modern React application to search for movies and display detailed information using the OMDB API. This app features a responsive design, skeleton loaders for a better user experience, and a sleek UI built with Tailwind CSS and Styled Components.

Notifications You must be signed in to change notification settings

Pushkar111/Movie-search-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Movie Search App

A React application to search for movies and display detailed information using the OMDB API.

Table of Contents

Project Demo

Watch the demo of the project

Features

  • Search for movies and web series using the OMDB API.
  • Display a list of search results with movie posters and titles.
  • View detailed information about a selected movie.
  • Responsive design with a modern UI.
  • Skeleton loaders for a better user experience during data fetching.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/movie-search-app.git
    cd movie-search-app
  2. Install the dependencies:

    npm install
  3. Start the development server:

    npm start
  4. Open your browser and navigate to http://localhost:3000.

Usage

  1. Use the search bar in the navigation bar to search for movies or web series.
  2. Select a movie from the search results to view detailed information.

Project Structure

movie-search-app/
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ index.html
β”‚   └── ...
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Loader.jsx
β”‚   β”‚   β”œβ”€β”€ MovieCard.jsx
β”‚   β”‚   β”œβ”€β”€ MovieDetail.jsx
β”‚   β”‚   β”œβ”€β”€ MoviesHome.jsx
β”‚   β”‚   β”œβ”€β”€ MoviesNavbar.jsx
β”‚   β”‚   └── SkeletonLoader.jsx
β”‚   β”œβ”€β”€ App.js
β”‚   β”œβ”€β”€ App.css
β”‚   β”œβ”€β”€ index.js
β”‚   β”œβ”€β”€ index.css
β”‚   └── ...
β”œβ”€β”€ .gitignore
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md
└── ...

Components

  • Loader.jsx: Displays a loading spinner while data is being fetched.
  • MovieCard.jsx: Represents a single movie card with an image, title, and year. It also includes a skeleton loader for better user experience.
  • MovieDetail.jsx: Shows detailed information about a selected movie.
  • MoviesHome.jsx: The main component that handles the search functionality and displays the list of movie cards.
  • MoviesNavbar.jsx: The navigation bar component with a search bar.
  • SkeletonLoader.jsx: A skeleton loader component used to indicate loading state.

APIs Used

  • OMDB API: Used to fetch movie data including titles, posters, and detailed information.

Styling

  • Tailwind CSS: Used for styling the components and ensuring a responsive design.
  • Custom CSS: Additional custom styles defined in App.css and index.css.

Links

About

Movie Search App 🎬 A modern React application to search for movies and display detailed information using the OMDB API. This app features a responsive design, skeleton loaders for a better user experience, and a sleek UI built with Tailwind CSS and Styled Components.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published