An open API service indexing awesome lists of open source software.

https://github.com/yash-kk/imdb-drf

This project is an IMDB clone built using Django Rest Framework (DRF). It aims to replicate the functionality of the popular movie database website IMDB. The project is built using the Django web framework, which provides a robust and secure platform for web development
https://github.com/yash-kk/imdb-drf

django django-rest-framework postgresql

Last synced: 2 months ago
JSON representation

This project is an IMDB clone built using Django Rest Framework (DRF). It aims to replicate the functionality of the popular movie database website IMDB. The project is built using the Django web framework, which provides a robust and secure platform for web development

Awesome Lists containing this project

README

          

# IMDB-DRF Application
### Technologies used: Django, Django Rest Framework.




## Description
The IMDB-DRF clone is a web application built using Django and Django REST Framework (DRF) that replicates the functionality of the popular IMDB website.
It provides endpoints to manage a watchlist of movies, view movie details, explore streaming platforms, and interact with movie reviews.


## Key Features


  • Movie List and Detail Pages: Browse and view details of movies in the watchlist.


  • Streaming Platform List and Detail Pages: Explore various streaming platforms and their details.


  • Review Creation and Listing: Create and view reviews for specific movies.


  • User Authentication: Register, login, and logout functionality for users.





Clone the git repository locally:

```
https://github.com/Yash-KK/IMDB-DRF.git
```

Create and activate a Virtual Envionment:

```
virtualenv venv
source venv/bin/activate
```

Install Dependencies:

```
pip install -r requirements.txt
```

Setup Database and Run the Development Server

```
python manage.py migrate
python manage.py runserver
```


## API
After successfull deployment of the image containers our backend is up and running on :

* [localhost:8000](http://127.0.0.1:8000/)


The IMDB-DRF clone application provides the following endpoints:

* **Movie List Page**: View all existing movies and create a new movie instance.
- Endpoint: `/watch-list/`
- HTTP Methods: GET, POST

* **Movie Detail Page**: View a particular movie, update its details, or delete it.
- Endpoint: `/watch-list/{movie_id}/`
- HTTP Methods: GET, PUT, PATCH, DELETE

* **Streaming Platform List Page**: Browse all streaming platforms and their details.
- Endpoint: `/platform-list/`
- HTTP Methods: GET

* **Streaming Platform Detail Page**: View details of a specific streaming platform.
- Endpoint: `/platform-list/{platform_id}/`
- HTTP Methods: GET

* **Review Create**: Create a review for a particular movie.
- Endpoint: `/watch-list/{movie_id}/review-create/`
- HTTP Methods: POST

* **Review List**: List all reviews for a particular movie.
- Endpoint: `/watch-list/{movie_id}/reviews/`
- HTTP Methods: GET

* **Review Detail**: View details of a specific review for a movie.
- Endpoint: `/watch-list/{movie_id}/review-detail/{review_id}/`
- HTTP Methods: GET

* **User Authentication**
- Login User: `/accounts/login/`
- Register User: `/accounts/register/`
- Logout User: `/accounts/logout/`