This project is a web application that allows users to receive movie recommendations and track their watched movies. It consists of two main components: backend and frontend.
- movie-app-backend: Backend API and movie recommendation system
- movie-app: Frontend application developed with Next.js
- movie-poster-updater: Tool used to update movie posters
-
Navigate to the backend folder:
cd movie-app-backend
-
Install dependencies:
npm install
-
Start the application:
npm run dev
-
Launch a new port for the recommendation system:
node start-recommendations.js
-
Navigate to the frontend folder:
cd movie-app
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
The movie recommendation system runs on a separate port from the main backend, providing the following advantages:
- Calculating recommendations does not block other API operations
- More resources can be allocated
- Better performance under high load
For more details, see the movie-app-backend/README-RECOMMENDATIONS.md file.