Skip to content

oktay/movies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

180 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

movies

🍿 A TMDB client built with Next.js 14

Welcome to the "movies" web app! This app allows you to search for movies, TV shows, or people by title and view their details, including overview, release date, and average rating. You can also watch movie trailers and browse popular movies, top-rated movies, upcoming movies, and now playing movies.

Features

  • Search for movies, TV shows, or people by title
  • View movie details, including overview, release date, and average rating
  • Watch movie trailers
  • Browse popular movies, top-rated movies, upcoming movies, and now playing movies
  • Discover movies and TV shows with filters (genre, year, rating, etc.)
  • View cast and crew information
  • Responsive design optimized for mobile, tablet, and desktop devices
  • Dark/Light theme support

Tech Stack

Getting Started

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/oktay/movies.git
cd movies
  1. Install dependencies:
npm install
  1. Create .env.local and add your TMDB API key:
TMDB_KEY=your-api-key
  1. Start the development server:
npm run dev
  1. Open http://localhost:3000 in your browser.

Documentation

Project Structure

β”œβ”€β”€ app/                    # Next.js App Router
β”‚   β”œβ”€β”€ (home)/            # Home page
β”‚   β”œβ”€β”€ (lists)/           # List pages (popular, trending, discover)
β”‚   └── (detail)/          # Detail pages (movie, tv, people)
β”œβ”€β”€ components/            # React components
β”‚   β”œβ”€β”€ ui/                # shadcn/ui primitives
β”‚   β”œβ”€β”€ media/             # Shared media components
β”‚   β”œβ”€β”€ movie/             # Movie-specific components
β”‚   └── tv/                # TV-specific components
β”œβ”€β”€ tmdb/                  # TMDB API integration
β”‚   β”œβ”€β”€ api/               # API functions
β”‚   └── models/            # TypeScript types
β”œβ”€β”€ hooks/                 # Custom React hooks
β”œβ”€β”€ lib/                   # Utility functions
└── config/                # Site configuration

TMDB

This product uses the TMDB API but is not endorsed or certified by TMDB.

TMDB Logo

Contributing

Contributions are welcome! Please read the CONVENTIONS.md before submitting a PR.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

🍿 A TMDB client build with Next.js 14

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages