https://github.com/rohitswami16/movie_api
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.
https://github.com/rohitswami16/movie_api
djnago python rest-api sqlite
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/rohitswami16/movie_api
- Owner: Rohitswami16
- Created: 2024-10-14T02:41:38.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-02-26T17:54:47.000Z (3 months ago)
- Last Synced: 2025-02-26T18:43:32.414Z (3 months ago)
- Topics: djnago, python, rest-api, sqlite
- Language: Python
- Homepage:
- Size: 837 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎬 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:
```sh
git clone https://github.com/Rohitswami16/movie_api_management.git
```
2. Navigate to the project directory:
```sh
cd movie_api_management
```
3. Create and activate a virtual environment:
```sh
python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windows
```
4. Install dependencies:
```sh
pip install -r requirements.txt
```
5. Apply database migrations:
```sh
python manage.py migrate
```
6. Start the Django development server:
```sh
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](LICENSE) file for details.
For any inquiries or issues, reach out via email at [[email protected]](mailto:[email protected]).
---
⚡ Ensure the Django server is running before accessing these endpoints! 🚀