How mushaf-khalil/100daysofml works
Project type and purpose
• This is a small full-stack web application—a content-based movie recommender.
• The “backend” directory implements the recommendation API and data access; the “frontend” directory implements a simple web UI.
File structure
• Top-level folder “Content Based Movie Recommender”
• backend/
– api.py (Flask or FastAPI endpoints exposing recommendation and health-check routes)
– database.py (module to initialize and query the SQLite database)
• frontend/
– app.py (simple Flask app serving HTML templates or UI components, calling backend API)
• movies.db (SQLite database containing movie metadata and precomputed features)
• tmdb_5000_movies.csv, tmdb_5000_credits.csv (raw data sources used to populate the database)
• requirements.txt (list of Python dependencies)
• No microservices—monolithic two-tier architecture (web server + database).
README for additional insights
• Although the top-level README covers the 100-Days-ML repository, the recommender subfolder likely contains its own README (not shown here) describing:
• loading CSVs into SQLite
• building TF-IDF or cosine-similarity feature matrix
• Flask route contracts (e.g., /recommend?movie_id=…)