A React application to explore movies using the OMDB API.
-
Clone the repository:
git clone <repository-url> cd movie-explorer npm install npm run dev npm test
- style with tailwind install tailwind
- npm install -D tailwindcss postcss autoprefixer
- npx tailwindcss init -p
- Configure some things on tailwind.config.js
- Install React-Router-Dom:
- npm install react-router-dom
- Install react-spinners (Styling and Positioning)
- npm install react-spinners
- Install fontawsemnpm
- install @fortawesome/fontawesome-free
- Install axios for fetching API
- npm install axios
*** Issue with Demo Deployed 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