This project was bootstrapped with Create React App.
React Query for fetching, caching and revalidating data.
Typescript
TailwindCSS for styling.
After cloning the repo, run
Install the dependencies for running the project, you can also use npm with
npm install
Important: Using the .env.example
add your API keys from https://www.themoviedb.org/ and the rest of environment variables to your own .env
file.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
The app is configured to automatically be deployed using Vercel.
As this was a challenge developed in a short period of time, several improvements were left behind, like a better UI with loading and error indicators, probably adding a debounce on the search, adding pagination, better responsiveness for mobile, adding tests, etc.