Movie Explorer AI
A React and TypeScript movie discovery app. Search for movies, open a details page, sign in with email and password, and keep a personal list of favourites stored in Firebase.
Overview
What it does
Searches OMDb by title, year and type, shows full movie details, and saves favourites per signed-in user in Cloud Firestore.
Built for
The FlyRank Frontend AI Engineering internship (Week 3), using AI-assisted development in Cursor with every change reviewed and verified before commit.
Architecture
Firebase and API calls stay in services, context and view-model hooks, so components and pages focus on rendering.
Key Features
OMDb search
Search by title with optional year and type filters, and a Load more button for further pages.
Shareable search URLs
Query and filters live in the URL, so Back restores results and links can be shared.
Movie details
Poster, year, rating, runtime, genre, director, actors, IMDb rating and plot on /movie/:id.
Firebase auth
Email/password sign up, log in and log out, staying signed in after a refresh.
Protected favourites
Signed-out visitors to /favorites go to /login and return afterwards; each user sees only their own Firestore list.
Accessible UI
Labelled inputs, keyboard-usable buttons, visible focus, and saved state shown with text and aria-pressed — not colour alone.
Tech Stack
| UI | React, TypeScript (strict mode), React Router |
|---|---|
| Build | Vite |
| Data | OMDb API |
| Auth & storage | Firebase Authentication, Cloud Firestore |
| Deployment | Vercel |