Skip to content

Rishav-02/movies-detail-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie Detailed App

movie detailed app Live Demo


GitHub top language GitHub language count

Header and Search Bar

Display searched movie

Screenshot (53)

Click to get detail of Movie

Screenshot (55)

Mobile Responsive

Screenshot (56)

Many Result with single Keyword Dil

Screenshot (54)

Tech and Language Used

Dependency Used

styled-components
axios

API

OMDB API(The Open Movie Database)

Features

  • Search any Movies and TV Shows
  • Get the 10 results as any word of movie match with searched word
  • Debouncing is used to optimizing the performance of a web app
  • Click on any Movie to see the various detail about that Movie
  • Click on movie poster to go top with smooth scrolling feature
  • When you stop typing then a single API call fire to get the response back from Open Movie Database(OMDB), Not unnecessary API call
  • A cross icon to remove the selected movie detail

Debouncing prevents extra activations or slow functions from triggering too often. We will only execute the most recent user action if the action is continuously invoked. Using the debounce React Hook will reduce the unnecessary API calls to our server and optimize our application for better performance.


How to use OMDB API

Step 1: Open the OMDB website.

Step 2: Click on three line menu icon and select API Key

Step 3: Generate API Key section will be open and Choose the Free option(1000 daily limit)

Step 4: Fill the asked detail and Submit it

Step 5: API Key will be sent to your given Email Id

Step 6: Use your API Key to fetch data

Getting Started

First you have to set up your react project by running

npx create-react-app movies-detail-app

Install above dependencies

npm install styled-components 
npm install axios

Finally clone this repository, install dependencies and run the local server

git clone https://github.com/Rishav-02/movies-detail-app.git
cd movies-detail-app
npm start

Developed by Rishav Raj