Mood Based Content Recommender: A Full-Stack Web Application Using FastAPI and Frequency-Based Mood Analysis

Abstract

Mood plays a significant role in influencing an individual’s thoughts, productivity, and overall well-being. This paper presents a Mood Based Content Recommender, a full-stack web application designed to provide personalized content suggestions based on the user’s mood. The system allows users to log their emotional state, which is securely stored using a FastAPI-based backend with database integration. A frequency-based mood analysis algorithm predicts the user’s emotional trend by analyzing recent mood history. Based on the detected mood, the system recommends curated content including songs, motivational quotes, short stories, and movies aimed at improving emotional balance. Additionally, a safe mode detection mechanism identifies repeated negative moods and provides supportive intervention. The application follows a modular three-tier architecture integrating React with TypeScript for the frontend and FastAPI with SQLAlchemy for backend services. The proposed system demonstrates how rule-based analysis combined with structured API architecture can effectively create an emotionally responsive content recommendation platform suitable for users of all age groups.

Country : India

1 Gwenth Bramahane2 Anushka Sonne3 Shreya Jasud4 Alkama Jahagirdar5 Prof. Rupali Padhar6 Prof. Mayuri Narudkar

  1. Student, Artificial Intelligence and Machine Learning Engineering, Ajeenkya DY Patil School of Engineering, Pune, Maharashtra, India
  2. Student, Artificial Intelligence and Machine Learning Engineering, Ajeenkya DY Patil School of Engineering, Pune, Maharashtra, India
  3. Student, Artificial Intelligence and Machine Learning Engineering, Ajeenkya DY Patil School of Engineering, Pune, Maharashtra, India
  4. Student, Artificial Intelligence and Machine Learning Engineering, Ajeenkya DY Patil School of Engineering, Pune, Maharashtra, India
  5. Professor, Artificial Intelligence and Machine Learning Engineering, Ajeenkya DY Patil School of Engineering, Pune, Maharashtra, India
  6. Head of the Department, Artificial Intelligence and Machine Learning Engineering, Ajeenkya DY Patil School of Engineering, Pune, Maharashtra, India

IRJIET, Volume 10, Issue 2, February 2026 pp. 102-104

doi.org/10.47001/IRJIET/2026.102017

References

  1. T. Mitchell, Machine Learning, McGraw-Hill Education, 1997
  2. M. Fowler, Patterns of Enterprise Application, Addison-Wesley, 2002.
  3. Recommender Systems Handbook, Springer, 2015.
  4. FastAPI Documentation, 2023.
  5. React Documentation, 2023.
  6. World Health Organization, Mental Health Guidelines, 2022.