To Run the project, please follow the steps below:
- Clone the project
- Generate API key (www.omdbapi.com/apikey.aspx)
- Place API key
.env.example
(number) - Change name
.env.example
to.env
- Run
npm install
to install the dependencies - Run
npm run dev
to start the project - Open http://localhost:5173 to view it in the browser.
├── node_modules (.gitignore)
├── public
│ ├── invent.ico
├── src
│ ├── api
│ │ ├── client.ts
│ ├── components
│ │ └── Input
│ │ │ ├── index.css
│ │ │ └── Input.scss
│ │ └── LoadingSpinner
│ │ │ ├── index.css
│ │ │ └── LoadingSpinner.scss
│ │ └── SelectBox
│ │ │ ├── index.css
│ │ │ └── SelectBox.scss
│ ├── icons
│ │ ├── logo.tsx
│ ├── pages
│ │ ├── Home
│ │ │ ├── constants.css
│ │ │ ├── Home.scss
│ │ │ ├── index.tsx
│ │ │ └── types.tsx
│ │ ├── MovieDetails
│ │ │ ├── MovieDetails.scss
│ │ │ ├── index.tsx
│ │ │ └── types.tsx
│ ├── redux
│ │ ├── movie
│ │ │ └── movieSearchSlice.ts
│ │ ├── hooks.ts
│ │ └── store.ts
│ ├── views
│ │ ├── Header
│ │ │ ├── Header.scss
│ │ │ └── index.tsx
│ │ ├── SearchBar
│ │ │ ├── SearchBar.scss
│ │ │ └── index.tsx
│ ├── App.scss
│ ├── App.tsx
│ ├── index.scss
│ ├── main.tsx
│ └── vite-env.d.ts
├── .gitignore
├── package.json
└── README.md
└── yarn.lock