Interview project to implement an interface for OMDB.
Built in Vue with Typescript, developed on Windows 11 on Node 18.13.0
- Removed filtering by episodes as it is not supported by the API for standard text search
- Year filtering only applies to the currently loaded titles as the API does not support year range filtering
- Proxying the requests to a cloud function to avoid api key scraping
- Abstract the api calls with an interface to open up support for other apis
- Tests...
- Improved api call error handling
- Display error messages based on response from api
- Different status codes
- Fancier UX, as well as hover states, loading states
npm installcp .env.example .env
Generate an OMDb API token (https://www.omdbapi.com/) and fill out the VITE_OMDB_API_KEY key in .env
npm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitLint with ESLint
npm run lint