'How to create interest based recommendation of courses in MERN stack

I have to create a recommendation system where based on students' interest we have to show courses

I am using MERN stack.But how to implement that recommendation system I couldn't figure out.

I tried in simple search technique... but i want more accurate recommendation of user.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source