Skip to content

davy254/movie_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django TMDb Movie App

Django CI

Overview

This is a Django web application that displays a list of latest movies using the TMDb API (The Movie Database). Users can view details of each movie.

Features

  • Display a paginated list of latest movies.
  • Show detailed information for each movie.
  • Responsive design for a better user experience on various devices.

Getting Started

Prerequisites

Make sure you have the following installed:

  • Python (version 3.10)
  • Django (version 4.2)

Installation

  1. Clone the repository:

    git clone https://github.com/davy254/movie_project
  2. Navigate to the project directory:

    cd movie_project
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Apply database migrations:

    python manage.py migrate
  5. Run the development server:

    python manage.py runserver
  6. Access the application in your web browser at http://localhost:8000.

Configuration

  1. Obtain a TMDb API key from TMDb API.

  2. Replace the placeholder API key in the latest_movies view in views.py with your actual TMDb API key.

    headers = {
        "accept": "application/json",
        "Authorization": "Bearer YOUR_TMDB_API_KEY"
    }

Usage

  1. Visit the homepage to see the list of latest movies.
  2. Click on a movie to view its details.

About

A Django powered movie website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published