Skip to content

pbassut/movie-discovery-app

Repository files navigation

Movie Discovery App

A web application for discovering popular movies using The Movie Database (TMDB) API. Built with Next.js 16

Screenshots

Movie Discovery App - Popular Movies Grid

Getting Started

Prerequisites

  • npm or yarn
  • A TMDB API key

Installation

  1. Install dependencies

    npm install
  2. Configure environment variables

    Copy the example environment file:

    cp .env.example .env.local
  3. Add your API key to .env.local

    Open .env.local and replace your_api_key_here with your actual API key:

    NEXT_PUBLIC_TMDB_API_KEY=your_actual_api_key_here
    NEXT_PUBLIC_TMDB_BASE_URL=https://api.themoviedb.org/3
    NEXT_PUBLIC_TMDB_IMAGE_BASE_URL=https://image.tmdb.org/t/p
  4. Run the development server

    npm run dev
  5. Open your browser

    Navigate to http://localhost:3000

Testing

Run the test suite:

npm test

Run tests in watch mode for development:

npm run test:watch

Generate coverage report:

npm run test:coverage

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published