CS6550 Info Retrieval Project - South Park Search & Recommendation System
Install dependencies:
cd frontend
npm install
cd frontend
npm run serve:dev
Install the requirements:
cd backend
pip install -r requirements.txt
cd backend
python manage.py runserver
-
You can get recommendations by sending a JSON encoded list of favorites as a
GET
request tohttp://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.