MitchTalmadge / CS6550-Project

CS6550 Info Retrieval Project - South Park Search & Recommendation System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS6550-Project

CS6550 Info Retrieval Project - South Park Search & Recommendation System

PngItem_1338445

Frontend

Setup

Install dependencies:

cd frontend
npm install

Run Development Web Server

cd frontend
npm run serve:dev

Backend

Setup

Install the requirements:

cd backend
pip install -r requirements.txt

Run Web Server

cd backend
python manage.py runserver

API

  • You can get recommendations by sending a JSON encoded list of favorites as a GET request to http://localhost:8000/api/recommend. For example:

    [
      {
          "id": 2,
          "season": 3
      },
      {
          "id": 3,
          "season": 3
      },
      {
          "id": 4,
          "season": 5
      }
    ]

    The result will be a JSON list of episodes like above.

  • You can search by sending a query as a plain text body to http://localhost:8000/api/search. For example:

    Oh my god, they killed Kenny!
    

    The result will be a JSON list of episodes like above.

About

CS6550 Info Retrieval Project - South Park Search & Recommendation System

License:The Unlicense


Languages

Language:TypeScript 70.3%Language:Python 25.3%Language:SCSS 4.0%Language:EJS 0.5%