Earlier work · Joint project · 2023
An online store with a content-based recommender
A Django and React store that shows similar products on every product page, using TF-IDF vectors and cosine similarity. I built the backend.
A deployed store whose product pages list related items, with the recommender trained once and cached at startup.
- Role
- Backend developer
- Stack
- Django · Django REST Framework · React · scikit-learn · pandas · NumPy

When a shopper opens a product, the page lists others like it. The recommender turns each product's text into TF-IDF vectors with scikit-learn and ranks the rest of the catalogue by cosine similarity. The model is fitted once and cached with pickle when the app starts, so a product page does not pay for training.
I was the backend developer on a team of two, writing the Django REST Framework API and the recommendation endpoint the React front end calls. The linked article walks through the recommender step by step.