First, install dependencies.
npm install
# or
yarn install
# or
pnpm install
# or
bun installSecond, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
The site shows an input field with a list of movies to search from. The movie search results are mocked and show a loading state, with a randomized delay to mimic a real API call.
- Implement the debounce search in a custom hook
- Implement Error Boundary for MovieGrid component
- Implement pagination for the movie list and search results
- Implement favourite with redux
- Implement movie list update on movie search result click