Mental health disorders such as stress, anxiety, emotional instability, and de-pression are increasing rapidly across different age groups due to academic pressure, workplace stress, financial instability, unhealthy lifestyle patterns, and excessive digital engagement. Early emotional monitoring and continuous psychological self-assessment are important for improving emotional well-being and preventing severe mental health conditions. This paper presents a full-stack Mental Health Monitor-ing and Sentiment Analysis System developed using Java Spring Boot, React.js, and MySQL. The proposed system allows users to perform daily mood tracking, main-tain emotional journals, complete self-assessment surveys, and receive personalized wellness recommendations based on emotional analysis. The system incorporates a sentiment analysis mechanism that evaluates textual journal entries using positive and negative emotional keywords. Based on emotional classification, the recommendation engine generates mindfulness activities, motivational exercises, relaxation techniques, and emotional wellness suggestions. The frontend interface is developed using React.js, while Java Spring Boot is used to implement RESTful backend services and business logic. MySQL database ensures secure and structured emotional data storage. Experimental evaluation conducted on multiple participants demonstrates that continuous mood tracking and journaling improve emotional awareness, reduce stress levels, and encourage healthier self-care habits. The proposed system offers a lightweight, privacy-focused, scalable, and accessible digital healthcare solution for emotional wellness monitoring and preventive mental healthcare support.
Introduction
Mental health is essential for emotional, psychological, and social well-being, influencing behavior, relationships, productivity, and decision-making. Modern challenges such as academic pressure, workplace stress, social isolation, financial difficulties, and unhealthy lifestyles have led to a rise in mental health issues. Many people avoid seeking professional help due to stigma, lack of awareness, financial constraints, or limited access to healthcare.
The proposed Full-Stack Mental Health Monitoring and Sentiment Analysis System, developed using Java Spring Boot, React.js, and MySQL, aims to provide a secure, accessible, and privacy-focused platform for preventive mental healthcare. It enables users to track daily moods, maintain emotional journals, analyze sentiments, visualize emotional trends, and receive personalized wellness recommendations while storing data securely in a local database.
The system addresses the limitations of existing mental health applications, such as dependence on cloud storage, privacy concerns, limited emotional analytics, lack of personalized recommendations, and poor offline accessibility. Its main objectives include emotional tracking, sentiment analysis, secure data management, dashboard visualization, and promoting self-awareness.
The research is supported by previous studies showing that mood tracking, emotional journaling, cognitive behavioral therapy (CBT), and sentiment analysis improve emotional regulation and mental well-being. The theoretical foundation combines mental healthcare, artificial intelligence, natural language processing, and full-stack web development to support preventive emotional wellness.
The system emphasizes the importance of continuous mental health monitoring, allowing users to identify emotional triggers, monitor mood changes, and improve stress management. Emotional journaling helps users express feelings, reduce stress, and gain self-awareness, while keyword-based sentiment analysis classifies journal entries into positive, neutral, or negative emotional states by calculating a sentiment score based on emotional keywords.
Conclusion
This paper presented a Full-Stack Mental Health Monitoring and Sentiment Analysis System developed using Java Spring Boot, React.js, and MySQL. The proposed system enables emotional self-monitoring through mood tracking, emotional journaling, senti-ment analysis, and dashboard visualization.
The integration of full-stack web technologies with emotional analytics creates a scal-able and accessible digital healthcare platform that promotes emotional awareness and preventive mental healthcare practices. Experimental results indicate that continuous emotional tracking and journaling contribute positively toward emotional stability, stress reduction, and healthy emotional habits.
The proposed system can serve as an effective digital emotional wellness platform while encouraging self-care and emotional self-awareness among users.
References
[1] S. Patel, R. K. Singh, and M. Shah, “Digital Mental Health Solutions and Self-Care Applications,” IEEE Access, vol. 10, pp. 112340–112355, 2022.
[2] J. Hollis, “Mobile Mental Health Tracking Apps: Benefits and Limitations,” Inter-national Journal of Digital Health, vol. 14, no. 2, pp. 98–110, 2022.
[3] K. Andersson and L. Samuelsson, “CBT-Based Digital Tools for Anxiety and De-pression,” Journal of Behavioral Therapy, vol. 41, no. 3, pp. 144–160, 2021.
[4] S. Banerjee and R. Dhawan, “Sentiment Analysis for Emotional State Detection Using Text Data,” IEEE Transactions on Affective Computing, vol. 13, no. 1, pp. 65–78, 2023.
[5] World Health Organization, “Mental Health: Strengthening Our Response,” WHO Report, 2023.
[6] J. Creswell and J. Lindsay, “Mindfulness and Stress Reduction Techniques in Modern Healthcare,” Journal of Mental Wellness, vol. 8, no. 4, pp. 215–227, 2021.
[7] React.js Documentation, “Frontend User Interface Library.” Available: https:// react.dev/
[8] Spring Boot Documentation, “Java-Based Backend Development Framework.”
[9] Available: https://spring.io/projects/spring-boot
[10] MySQL Documentation, “Relational Database Management System.” Available: https://dev.mysql.com/
[11] Chart.js Documentation, “JavaScript Visualization Library.” Available: https:// www.chartjs.org/
[12] A. Sharma and P. Verma, “Web-Based Emotional Wellness Monitoring System Us-ing Java Technologies,” International Journal of Advanced Computer Science and Applications, vol. 12, no. 5, pp. 201–210, 2021.
[13] R. Gupta and S. Nair, “Stress Detection and Mood Prediction Using Machine Learn-ing Algorithms,” Procedia Computer Science, vol. 167, pp. 1254–1263, 2020.
[14] M. Liu and A. Verma, “Digital Mental Healthcare Systems: Challenges and Oppor-tunities,” Healthcare Informatics Research, vol. 27, no. 4, pp. 315–327, 2021.
[15] T. Johnson and M. Lee, “Sentiment Analysis Techniques for Mental Health Appli-cations,” Journal of Artificial Intelligence Research, vol. 69, pp. 875–901, 2020.
[16] P. Kumar and V. Rao, “Design of Secure Healthcare Applications Using Spring Boot and JWT Authentication,” International Journal of Software Engineering, vol. 15, no. 3, pp. 45–58, 2022.
[17] S. Mehta and K. Jain, “Interactive Dashboard Visualization for Healthcare Moni-toring Systems,” IEEE International Conference on Smart Computing, pp. 221–227, 2021.
[18] N. Williams, “Role of Emotional Journaling in Stress Reduction and Mental Well-ness,” Journal of Psychology and Behavioral Science, vol. 18, no. 2, pp. 89–102, 2020.
[19] H. Kim and S. Park, “REST API-Based Full Stack Healthcare Applications Using React and Spring Boot,” International Journal of Web Engineering, vol. 11, no. 4,
[20] pp. 301–315, 2022.
[21] D. Roy and A. Chatterjee, “Emotion Recognition and Mood Classification Using NLP Techniques,” IEEE International Conference on Computational Intelligence,
[22] pp. 145–152, 2023.
[23] L. Peterson, “Database Security and Privacy in Healthcare Information Systems,” Journal of Information Security, vol. 13, no. 1, pp. 55–69, 2021.
[24] F. Ahmed and R. Khan, “Implementation of Mental Health Chatbots for Emotional Support Systems,” International Journal of Artificial Intelligence Applications, vol. 10, no. 6, pp. 88–97, 2022.
[25] S. Brown and T. Wilson, “User Experience Design in Healthcare Web Applications,” Journal of Human Computer Interaction, vol. 29, no. 5, pp. 410–425, 2021.
[26] A. Joseph and M. Thomas, “Scalable Full-Stack Web Application Architecture for Healthcare Systems,” IEEE Access, vol. 9, pp. 102345–102360, 2021.
[27] Y. Chen and L. Zhao, “Machine Learning Approaches for Mental Health Prediction and Analysis,” Expert Systems with Applications, vol. 186, pp. 115–129, 2022.
[28] R. Singh and P. Kulkarni, “Comparative Study of Relational Databases for Health-care Applications,” International Journal of Database Management Systems, vol. 14, no. 2, pp. 33–47, 2021.
[29] M. Fernandez and J. Cooper, “Cloud and Local Storage Architectures in Healthcare Systems,” Journal of Cloud Computing, vol. 9, no. 3, pp. 210–225, 2020.
[30] V. Narayan and S. Iyer, “Visualization-Based Emotional Analytics for Digital Well-ness Applications,” International Conference on Data Science and Analytics, pp. 412–419, 2022.
[31] C. Morgan, “Psychological Benefits of Continuous Mood Tracking Systems,” Journal of Mental Health Technology, vol. 16, no. 1, pp. 67–81, 2021.
[32] J. Richardson and A. Green, “Emotion-Aware Computing Systems in Modern Healthcare Applications,” IEEE Transactions on Computational Social Systems, vol. 10, no. 2, pp. 344–356, 2023.
[33] Oracle Corporation, “Java Platform Documentation.” Available: https://docs. oracle.com/javase/