Skip to content

itamarco/movies-recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie Recommender App

This repository contains the code for the Movie Recommender App, a React application, backed with fastapi app, that provides movie recommendations based on user preferences and similar movie content.

My Image Description

Structure

  • backend/: Contains the FastAPI application code.
  • frontend/: React front-end application.
  • notebooks/: Jupyter notebooks for analysis.
  • k8s/: Kubernetes configuration files. WIP

Prerequisites

  • Docker
  • npm
  • Conda for notebooks environment

USAGE

Prerequisites

git lfs pull 
docker-compose up

Local Development

backend

Prerequisites

  • poetry (1.2.2)
  • postgres instance url (Docker)
cd backend
poetry install

export DATABASE_URL="postgresql://..."

poetry run python app/local.py

frontend

Prerequisites

  • Node.js (>= 12.0.0)
  • npm (>= 6.0.0)
cd frontend
npm install
npm start

notebooks

Prerequisites

cd notebooks
conda create --name ntoebooks python=3.9

Dataset for similarity recommendation

The datasets are located here. They consist of 11,000 Movies and 3,000 TV series that were scraped from the TMDB API.

The scraper code can be found in the movies and tvs notebooks.