Skip to content

UserAdel/Netflix-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Netflix Clone Platform

Project Overview

Developed a complete Netflix clone streaming platform with modern web technologies, featuring a responsive React frontend and robust Node.js backend. The application provides an immersive movie and TV show browsing experience with comprehensive user authentication and search capabilities.

Demo Access

The application is ready to use with user registration, or you can test with demo credentials:

Demo Credentials:

  • Create your own account through the signup process
  • Full access to all streaming platform features
  • Browse movies, TV shows, and watch trailers

Once logged in, you will have access to:

  • Complete movie and TV show catalog
  • Advanced search functionality with multiple categories
  • Personalized search history tracking
  • High-quality trailer viewing experience
  • Similar content recommendations

Key Features Implemented

πŸ” User Authentication & Security

  • Secure user registration and login system
  • JWT-based authentication with HTTP-only cookies
  • Protected routes with authentication middleware
  • User profile management with avatar selection
  • Session management and secure logout functionality

🎬 Content Discovery & Browsing

  • Dynamic movie and TV show catalog integration with TMDB API
  • Trending content showcase with hero section
  • Category-based content organization (Now Playing, Top Rated, Popular, Upcoming)
  • Interactive content sliders with smooth navigation
  • Detailed content pages with comprehensive movie/TV show information
  • Similar content recommendations and suggestions

πŸ” Advanced Search System

  • Multi-category search functionality (Movies, TV Shows, People)
  • Real-time search with TMDB API integration
  • Search history tracking and management
  • Search result filtering and categorization
  • Personalized search history with delete functionality

πŸŽ₯ Video Streaming Experience

  • Integrated video player using React Player
  • High-quality trailer streaming from YouTube
  • Multiple trailer navigation with previous/next controls
  • Responsive video player for all screen sizes
  • Seamless video loading and error handling

πŸ“± User Experience Features

  • Fully responsive design for mobile, tablet, and desktop
  • Modern Netflix-inspired UI with dark theme
  • Smooth animations and transitions
  • Loading states and skeleton screens
  • Toast notifications for user feedback
  • Custom 404 error page with Netflix branding

βš™οΈ Technical Features

  • RESTful API architecture with Express.js
  • State management with Zustand
  • TMDB API integration for real-time movie data
  • MongoDB database with user and search history models
  • Comprehensive error handling and validation
  • Security middleware and route protection

Technology Stack

Frontend:

  • React.js with Vite build tool for fast development
  • Zustand for lightweight state management
  • Tailwind CSS for modern responsive styling
  • React Router for client-side navigation
  • React Player for video streaming
  • Axios for API communication
  • React Hot Toast for notifications
  • Lucide React for modern icons

Backend:

  • Node.js with Express.js framework
  • RESTful API design patterns
  • JWT authentication with secure cookie handling
  • bcryptjs for password hashing
  • MongoDB with Mongoose ODM
  • Cookie parser middleware
  • Environment variable configuration

External Integrations:

  • TMDB (The Movie Database) API for movie/TV data
  • YouTube integration for trailer streaming
  • Vercel deployment configuration
  • MongoDB Atlas for cloud database

Development Tools:

  • ESLint for code quality
  • Nodemon for development auto-restart
  • PostCSS and Autoprefixer for CSS processing
  • Vite for fast frontend builds

Technical Achievements

πŸ—οΈ Architecture & Design

  • Implemented clean separation of concerns with MVC pattern
  • Created reusable component architecture for scalability
  • Developed custom hooks for data fetching and state management
  • Built responsive design system ensuring cross-device compatibility

πŸ”’ Security Implementation

  • Secure JWT token handling with HTTP-only cookies
  • Password hashing with bcryptjs salt rounds
  • Protected API routes with authentication middleware
  • XSS and CSRF attack prevention measures

πŸš€ Performance Optimization

  • Implemented image lazy loading and optimization
  • Used React's built-in optimizations with proper dependency arrays
  • Efficient state management to prevent unnecessary re-renders
  • Optimized API calls with proper error handling and loading states

🎨 User Interface Excellence

  • Netflix-inspired design with modern dark theme
  • Smooth hover effects and interactive elements
  • Mobile-first responsive design approach
  • Accessibility considerations with proper semantic HTML

πŸ“Š Data Management

  • Efficient MongoDB schema design for users and search history
  • Real-time data synchronization with TMDB API
  • Search history tracking with timestamps and categorization
  • Proper data validation and sanitization

API Integration Features

TMDB Integration:

  • Trending Content: Real-time trending movies and TV shows
  • Category Browsing: Multiple content categories and filtering
  • Search Functionality: Comprehensive search across movies, TV shows, and people
  • Content Details: Detailed information including ratings, release dates, and descriptions
  • Similar Content: AI-powered content recommendations
  • Trailer Integration: Direct YouTube trailer links and streaming

Search Capabilities:

  • Multi-Category Search: Movies, TV shows, and celebrity/people search
  • Search History: Persistent user search tracking with timestamps
  • Search Management: Add, view, and delete search history entries
  • Real-time Results: Instant search results with TMDB API integration

User Journey Features

Authentication Flow:

  1. Landing Page: Netflix-inspired hero section with email capture
  2. Sign Up Process: Secure registration with email and username validation
  3. Login System: JWT-based authentication with persistent sessions
  4. Profile Management: Random avatar assignment and user preferences

Content Discovery:

  1. Home Dashboard: Trending content hero section with play/info buttons
  2. Category Browsing: Horizontal scrolling sliders for different content types
  3. Content Details: Comprehensive movie/TV show pages with trailers
  4. Similar Recommendations: AI-powered content suggestions

Search Experience:

  1. Advanced Search: Multi-tab search interface for different content types
  2. Search Results: Grid-based results with poster images and details
  3. Search History: Persistent tracking of user search behavior
  4. History Management: Easy deletion and organization of search records

This project demonstrates expertise in full-stack development, external API integration, modern React patterns, and streaming platform architecture. The implementation showcases proficiency in building scalable, secure, and user-friendly web applications that rival industry-standard streaming platforms.

Releases

No releases published

Packages

 
 
 

Contributors

Languages