Next.js Clone Coding Project
A modern movie discovery web application built as a Next.js clone coding practice, focusing on strict type safety and immersive UI.
# Project Overview
Next.js Clone Coding Project began as a clone coding project from "Nomad Coders Next.js for Beginners". It has been reimagined and significantly improved using Antigravity, refining the original work with modern aesthetics, strict TypeScript integration, and optimized performance.
Technology Stack
Next.js 16
App Router & Turbopack
React 19
Server Components
Tailwind 4
Modern CSS Styling
TypeScript
Strict Type Safety
TMDB API
Real-time Data
Key Features
š Home Page
- Trending Contents Grid
- Dynamic Immersive Background
- 3D Card Flip Animation
š¬ Content Details
- Immersive Hero Header
- Tabs: Videos, Credits, Providers, Similar
- External Links (IMDB, Homepage)
Project Structure
next-again/
āāā app/
ā āāā (home)/ # Home route group
ā ā āāā page.tsx # Main landing page
ā ā āāā loading.tsx # Home skeleton loader
ā āāā (content)/content/[id]/ # Dynamic movie detail routes
ā ā āāā page.tsx # Defaults to 'video' tab
ā ā āāā credits/ # Credits tab route
ā ā āāā providers/ # Providers tab route
ā ā āāā similar/ # Similar movies tab route
ā ā āāā layout.tsx # Shared layout (Header, Nav) for details
ā ā āāā error.tsx # Error boundary
ā āāā about/ # About page
ā āāā layout.tsx # Root layout (Html, Body, ScrollToTop)
ā āāā globals.css # Global styles & Tailwind
ā āāā not-found.tsx # 404 Page
āāā components/
ā āāā content-card.tsx # Movie Card component
ā āāā content-info.tsx # Movie Info component
ā āāā skeleton.tsx # Loading UI components
ā āāā tab-content.tsx # Tab Logic
ā āāā tabs/ # Individual Tab Components
āāā lib/
ā āāā getApiData.ts # Generic API Fetcher
ā āāā metadata.ts # Shared Metadata Helper
āāā types/
āāā tmdb.ts # Strict TypeScript InterfacesRecent Improvements
- RefactorStrict Type Safety implementation with Generic API fetchers.
- FeatureCentralized Metadata logic to reduce code duplication.
- UXSmart Scroll-to-Top logic avoiding tab-switching jumps.
Development & Collaboration
Sky(skysurfr)
Product Lead / Designer
- Concept & Strategic Vision
- UI/UX Design Direction
- Core Feature Requirements
Antigravity (AI)
Lead Developer
- Full Stack Implementation
- Type Safety & Refactoring
- Technical Optimization
Copyright Ā© 2025 Next.js Clone Coding Project.
