MovieScout is a recommendation system that predicts movie ratings using collaborative filtering, deep learning, and real-time monitoring. This solution is built with PyTorch, Prometheus, and Angular for a complete development experience.
- Collaborative Filtering: Recommendations using matrix factorization.
- Prometheus Monitoring: Real-time tracking with Flask metrics.
- Angular Frontend: Intuitive, interactive user interface.
- Backend: Python, Flask, PyTorch
- Frontend: Angular
- Monitoring: Prometheus, Grafana
git clone https://github.com/ashish493/MovieScout.git
cd MovieScout
-
Python Environment
Create and activate a virtual environment:python3 -m venv env source env/bin/activate # on Windows, use `env\Scripts\activate`
-
Install Dependencies
pip install -r requirements.txt
-
Start the Flask API
Run the Flask application:export FLASK_APP=api.py flask run
-
Install Angular CLI (if not installed):
npm install -g @angular/cli
-
Navigate to the
ui/
Directory and install dependencies:cd ui npm install
-
Serve the Angular App:
ng serve
Access the app at
http://localhost:4200
.
-
Install Prometheus from Prometheus Downloads.
-
Configure Prometheus
Updateprometheus.yml
to include:- job_name: 'flask_app' static_configs: - targets: ['localhost:5000']
-
Start Prometheus:
./prometheus --config.file=prometheus.yml
Access Prometheus at
http://localhost:9090
.
This project is licensed under the MIT License.