How san-kalp/moview-recommendation-system-using-mern works
Project type and purpose
• This is a backend RESTful API for a “Movie Review Application” (like IMDB).
• Built with Node.js and Express, following an MVC-style pattern:
• Models handle data persistence
• Controllers process requests and orchestrate business logic
• Routes map HTTP endpoints to controllers
• It supports user authentication, movie CRUD, reviews, ratings, and comments.
File structure
• Top-level files
• server.js – bootstraps the Express app, loads middleware and routes
• package.json / package-lock.json – dependencies and scripts
• Directories
• routes/ – Express route definitions (movieRoutes, reviewRoutes, userRoutes)
• controller/ – controllers for movies, reviews, users
• models/ – ORM or database models + database connection (database.js)
• middlewares/ – middleware (e.g., auth.js for authentication)
• tmp/ – temporary files (not directly part of core architecture)
• No frontend folder; this is a pure backend service.
Key insights from README
• The app’s focus: users can sign up, log in, post reviews/ratings/comments on movies.
• Team project with typical REST API features (authentication, CRUD operations).