-
Notifications
You must be signed in to change notification settings - Fork 577
FE Technical Task TMDB - Kayode Olumo #779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Kayode-Olumo
wants to merge
26
commits into
MewsSystems:master
Choose a base branch
from
Kayode-Olumo:feat/mews-movie-app-kayode-olumo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
FE Technical Task TMDB - Kayode Olumo #779
Kayode-Olumo
wants to merge
26
commits into
MewsSystems:master
from
Kayode-Olumo:feat/mews-movie-app-kayode-olumo
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feat/constants types
feat(mews/api): created proxy endpoint for search, movie details and credits
Feat/movie service layer
…s and business logic
…arams typing, and use accept header
…ngle source of truth
…d-logic-changes Refactor/project structure and logic changes
test: add debounce integration test for HomePage search behaviour
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
flixDB — Mews Frontend Developer Task
flixDB is a small movie search app built with Next.js 14, TypeScript, and Tailwind CSS, powered by the TMDB API.
It lets users search for movies, browse paginated results, and view detailed information for each film.
The goal was to create something production-minded — clean, fast, and easy to maintain — without overbuilding it.
LIVE APP: https://flix-db-app.vercel.app/
Tech stack
useDebouncehookOverview
The app provides a simple, responsive movie search experience:
All API calls are routed through server-side endpoints under
/api/to keep the TMDB access token secure.Structure
The main logic sits in
services/andconstants/for clarity.I kept the structure modular and predictable, making it easy to follow or extend later.
Notes and trade-offs
/api/*to protect the TMDB key and allow future caching.Testing
Added one focused test covering the debounced search flow.
The app makes an initial API call on mount (“Now Showing”), so the test clears that call, types a new query, and confirms one API call is made after the debounce window with the correct arguments.
If extended, I’d add:
Future improvements
If this were a live product, I’d focus on:
languageparameter.How to run
Then open http://localhost:3000
To run tests:
npm run testFinal thoughts
I built flixDB to demonstrate how I think about structure, performance, and user experience — not just to make it work, but to make it maintainable.
It’s small, straightforward, and realistic, built the same way I’d approach an internal or production project.