Skip to content

Lize101/react-movies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMDB Movies

A movie search site that fetches and displays movies from the OMDB API.

Features:

  • Search box and search button to type and request movies
  • A display of fetched movies from OMDB API - title, poster and date
  • Responsive design using media queries
  • Error handling using try/catch
  • Loading state while fetching data
  • Empty state handling when no results are found

Tech:

  • Vite
  • OMDB API
  • React.js (including useState and useEffect)
  • CSS

Run the app locally:

  1. Clone the repo from GitHub
  2. Run npm install
  3. Create a .env file in the root and add your API key as VITE_API_KEY=yourkey
  4. Run npm run dev

Live Site:

OMDB Movie Search

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors