Skip to content

Build a movie explorer application that allows users to search and view details about movies. Focus on using React hooks for state management and design components with a modular and reusable approach.

Notifications You must be signed in to change notification settings

Lilikh/Movie-Explore-

Repository files navigation

React Movie App

A React application to explore movies using the OMDB API.

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd movie-explorer
     npm install
     npm run dev
     npm test
    1. style with tailwind install tailwind
    • npm install -D tailwindcss postcss autoprefixer
    • npx tailwindcss init -p
    • Configure some things on tailwind.config.js
    1. Install React-Router-Dom:
    • npm install react-router-dom
    1. Install react-spinners (Styling and Positioning)
    • npm install react-spinners
    1. Install fontawsemnpm
    • install @fortawesome/fontawesome-free
    1. Install axios for fetching API
      • npm install axios

*** Issue with Demo Deployed on Vercel ***

Deploy a Demo on Vercel

  • I deployed my code on Vercel, but after deployment, I ran into an issue. Specifically, when I try to search for a movie " Error: Failed to fetch movies " , I encounter a CORS error. The core problem seems to be that Vercel doesn't support the OMDB API, which is causing these errors

About

Build a movie explorer application that allows users to search and view details about movies. Focus on using React hooks for state management and design components with a modular and reusable approach.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published