Loading repository data…
Loading repository data…
eshagarwal / repository
A web-based movie recommendation system that leverages MySQL for data storage and retrieval, providing personalized movie suggestions based on user preferences and ratings.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A web-based movie recommendation system that leverages MySQL for data storage and retrieval, providing personalized movie suggestions based on user preferences and ratings.
This project is a full-stack movie recommendation application that allows users to explore movies, rate them, and receive personalized recommendations. It uses a MySQL database to store movie data, user ratings, and watch history, with stored procedures and triggers for efficient data management.
Movie-Recommendation MySQL/
├── app/
│ ├── package.json # Node.js dependencies
│ ├── server.js # Express server setup
│ └── public/
│ ├── app.js # Frontend JavaScript
│ ├── index.html # Main HTML page
│ └── style.css # Styling
└── SQL/
├── bulk_insert.sql # Sample data insertion
├── create_db.sql # Database creation
├── create_index.sql # Database indexes
├── create_tables.sql # Table definitions
├── ERD.mwb # Entity-Relationship Diagram
├── recommend_movies_queries.sql # Recommendation queries
├── stored_procedures/ # Database procedures
│ ├── GetAverageRatingByGenre.sql
│ ├── GetHighlyRatedMoviesByGenre.sql
│ ├── GetMoviesByGenre.sql
│ ├── GetMoviesRatedByMostUsers.sql
│ ├── GetTopRatedMovies.sql
│ └── GetTrendingMovies.sql
└── triggers/ # Database triggers
├── auto_insert_watch_history.sql
├── trigger_eg_1.sql
├── trigger_eg_2.sql
└── update_movie_rating.sql
Clone the repository
git clone <repository-url>
cd Movie-Recommendation MySQL
Set up the database
-- In MySQL command line or workbench
source SQL/create_db.sql;
source SQL/create_tables.sql;
source SQL/create_index.sql;
source SQL/bulk_insert.sql;
Install dependencies
cd app
npm install
Configure database connection
server.js if neededStart the server
npm start
Open in browser
http://localhost:3000 (or configured port)