Skip to content

This project is an API integration that seamlessly displays movie details. πŸŽ₯✨ It is built using Django, a Python-based backend framework, and provides API links to fetch movie-related data.

Notifications You must be signed in to change notification settings

Rohitswami16/Movie_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 Movie API Management 🍿

πŸš€ Project Overview

This project is an API integration that seamlessly displays movie details. πŸŽ₯✨ It is built using Django, a Python-based backend framework, and provides API links to fetch movie-related data.

🌟 Features

  • Retrieve a list of movies with details 🎞️
  • Create and manage movie collections πŸ“‚
  • User registration and authentication πŸ“
  • Track API request counts and reset them πŸ”„
  • Built with a scalable and modular architecture βš™οΈ

πŸ› οΈ Tech Stack

  • Backend: Django, Python 🐍
  • Database: SQLite πŸ—„οΈ
  • API: Django REST Framework 🌐

πŸ“₯ Installation and Setup

Follow these steps to set up and run the application:

  1. Clone the repository:
    git clone https://github.com/Rohitswami16/movie_api_management.git
  2. Navigate to the project directory:
    cd movie_api_management
  3. Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On macOS/Linux
    venv\Scripts\activate  # On Windows
  4. Install dependencies:
    pip install -r requirements.txt
  5. Apply database migrations:
    python manage.py migrate
  6. Start the Django development server:
    python manage.py runserver
  7. Access the API endpoints as described below.

πŸ”— API Endpoints

Modify the URLs as needed to get the desired output.

🎞️ Movies

  • URL: http://127.0.0.1:8000/movies/
  • Description: Retrieves the list of available movies. 🎬

πŸ“‚ Collection

  • URL: http://127.0.0.1:8000/collection/
  • Description: Fetches the movie collection data. πŸŽ₯

βž• Create Collection

  • URL: http://127.0.0.1:8000/createcollection/
  • Description: Allows users to create a new collection of movies. πŸ—οΈ

πŸ“ Register

  • URL: http://127.0.0.1:8000/register/
  • Description: Registers a new user in the system. πŸ†•

πŸ“Š Request Count

  • URL: http://127.0.0.1:8000/request-count/
  • Description: Displays the number of API requests made by a user. πŸ“ˆ

πŸ”„ Reset Request Count

  • URL: http://127.0.0.1:8000/request-count/reset
  • Description: Resets the request count for a user. πŸ”ƒ

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

For any inquiries or issues, reach out via email at [email protected].


⚑ Ensure the Django server is running before accessing these endpoints! πŸš€

About

This project is an API integration that seamlessly displays movie details. πŸŽ₯✨ It is built using Django, a Python-based backend framework, and provides API links to fetch movie-related data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages