Skip to content

Saksham1000/movieapp_react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 CinemaHub - Modern Movie Discovery App

A sleek and modern React application for discovering and managing your favorite movies. Built with Vite, React Router, and featuring a beautiful, responsive UI with dark theme and stunning visual effects.

✨ Features

🎨 Enhanced UI/UX

  • Modern Dark Theme - Beautiful gradient backgrounds and glassmorphism effects
  • Responsive Design - Optimized for all screen sizes
  • Smooth Animations - Hover effects, loading spinners, and transitions
  • Custom Scrollbars - Styled scrollbars with gradient colors

🎬 Movie Features

  • Movie Search - Search for movies by title, actors, or genres
  • Popular Movies - Discover trending and popular movies
  • Detailed Movie Cards - Display ratings, release dates, and overviews
  • Favorites System - Save and manage your favorite movies
  • Rating Display - See movie ratings with star indicators

πŸš€ Technical Features

  • React 18 with modern hooks and context
  • React Router for seamless navigation
  • TMDB API Integration for movie data
  • Responsive Grid Layout with auto-fit columns
  • Loading States with elegant spinners
  • Error Handling with user-friendly messages

🎯 UI Enhancements

Navigation Bar

  • Gradient Background with backdrop blur effect
  • Brand Identity - "CinemaHub" with movie icon
  • Hover Effects - Smooth animations and glow effects
  • Responsive - Adapts to mobile screens

Home Page

  • Hero Section - Eye-catching title and subtitle
  • Advanced Search - Enhanced search bar with icons
  • Movie Grid - Beautiful card layout with hover effects
  • Loading States - Animated loading spinner

Movie Cards

  • Glassmorphism Design - Translucent cards with blur effects
  • Rating Badges - Prominent rating display
  • Favorite Hearts - Animated heart icons for favorites
  • Hover Animations - Scale and glow effects
  • Movie Overview - Truncated descriptions with full text on hover

Favorites Page

  • Empty State - Beautiful empty state with call-to-action
  • Statistics - Movie count display
  • Enhanced Layout - Consistent with home page styling

πŸ› οΈ Installation & Setup

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn package manager

Quick Start

  1. Clone the repository

    git clone <repository-url>
    cd movie_app_react
  2. Install dependencies

    npm install
  3. Start development server

    npm run dev
  4. Open your browser Navigate to http://localhost:5173

Build for Production

npm run build
npm run preview

πŸ“± Responsive Design

The app is fully responsive and works great on:

  • πŸ“± Mobile devices (320px and up)
  • πŸ“± Tablets (768px and up)
  • πŸ’» Desktop (1024px and up)
  • πŸ–₯️ Large screens (1400px and up)

🎨 Color Scheme

  • Primary Gradient: #64ffda β†’ #448aff
  • Background: #0c0c0c β†’ #1a1a2e β†’ #16213e
  • Accent Colors: Cyan, Blue, Pink gradients
  • Text: White with various opacity levels

πŸš€ Performance Features

  • Optimized Images - Efficient poster loading from TMDB
  • Smooth Animations - 60fps animations with CSS transforms
  • Lazy Loading - Efficient resource loading
  • Modern CSS - Backdrop filters and advanced effects

πŸ“¦ Dependencies

  • React 18.3.1 - UI library
  • React Router DOM 6.28.0 - Client-side routing
  • Vite 5.4.10 - Build tool and dev server
  • ESLint - Code linting and formatting

🎬 API Integration

The app uses The Movie Database (TMDB) API for:

  • Fetching popular movies
  • Movie search functionality
  • Movie details and ratings
  • High-quality poster images

πŸ”§ Project Structure

src/
β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”œβ”€β”€ MovieCard.jsx   # Enhanced movie card component
β”‚   └── NavBar.jsx      # Modern navigation bar
β”œβ”€β”€ pages/              # Page components
β”‚   β”œβ”€β”€ Home.jsx        # Home page with search
β”‚   └── Favorites.jsx   # Favorites management
β”œβ”€β”€ contexts/           # React context providers
β”‚   └── MovieContext.jsx
β”œβ”€β”€ services/           # API services
β”‚   └── api.js
└── css/               # Stylesheets
    β”œβ”€β”€ App.css
    β”œβ”€β”€ Home.css
    β”œβ”€β”€ Navbar.css
    β”œβ”€β”€ MovieCard.css
    β”œβ”€β”€ Favorites.css
    └── index.css

🎯 Future Enhancements

  • πŸ” Advanced Filters - Genre, year, rating filters
  • πŸ“Ί TV Shows - Support for TV show discovery
  • πŸ‘€ User Profiles - Personal movie recommendations
  • 🎭 Movie Details - Dedicated movie detail pages
  • πŸ“± PWA Support - Progressive web app features

πŸ“„ License

This project is open source and available under the MIT License.

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


Enjoy discovering amazing movies with CinemaHub! 🎬✨

About

🎬 A modern and responsive React app for discovering trending movies with stunning UI and TMDB API integration,

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors