Backend services for the movie recommendation website. This project handles data ingestion, processing, and API services.
| Component | Description | Status |
|---|---|---|
| TMDB Pipeline | Ingests movie data from TMDB API | Active |
| Recommendations | Movie recommendation engine | Planned |
| API | REST API for frontend | Planned |
Back_End/
├── tmdb_pipeline/ # TMDB data ingestion (self-contained)
│ ├── *.py # Pipeline source code
│ ├── scripts/ # Automation scripts
│ ├── sql/ # Table schemas
│ ├── docs/ # Documentation
│ └── logs/ # Log files
├── Dockerfile
├── requirements.txt
├── .env
└── README.md
# Clone repository
git clone https://github.com/YOUR_USERNAME/Back_End.git
cd Back_End
# Create virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env with your credentialsSee TMDB Pipeline Documentation for full details.
# Test connections
python -m tmdb_pipeline test
# Setup database tables
python -m tmdb_pipeline setup
# Run initial ingestion (test mode)
python -m tmdb_pipeline initial --test-limit 5Create a .env file in the project root:
# TMDB API
API_KEY=your_tmdb_api_key
TMDB_BEARER_TOKEN=your_bearer_token
BASE_URL=https://api.themoviedb.org/3
# Database
SQL_HOST=localhost
SQL_PORT=3306
SQL_USER=your_db_user
SQL_PASS=your_db_password
SQL_DB=your_database_nameMIT License