Inspiration

Mental health is critical, yet many people lack accessible, transparent, and personalized support. We wanted to create a simple AI companion that helps users track mood, sleep, and journaling patterns while giving actionable suggestions without replacing professional help.

What it does

MindTrack-X lets users:

  • Log daily mood (😃 🙂 😐 😞 😢), sleep hours, and journal entries.
  • Automatically get sentiment analysis of journal entries (positive, neutral, negative).
  • Visualize trends in mood and sleep with interactive charts.
  • Receive simple, evidence-based CBT suggestions.
  • Enjoy positive reinforcement via random quotes.
  • All of this is done entirely in the browser—no backend required.

##How we built it

  • Frontend: React + Vite for fast development, Tailwind CSS for responsive, modern styling.
  • Charts & Visualization: Recharts for line and bar charts.
  • Sentiment Analysis: Mock function that looks for positive/negative words in journal entries.
  • CBT Suggestions: Simple if-else logic based on mood and sentiment.

Page Breakdown:

  • Landing Page: Logo, tagline, “Start Tracking” button.
  • Mood & Sleep Input: Emoji mood selector, sleep hours input, journal textarea, submit button.
  • Dashboard: Charts of mood/sleep trends, last journal sentiment, CBT suggestion, random positive quote.

Challenges we ran into

  • Designing a clean emoji-based mood selector in React.
  • Managing chart updates dynamically as new entries are added.
  • Creating a simple, realistic mock sentiment analysis without overcomplicating.
  • Making the UI friendly and responsive with limited time.

Accomplishments that we're proud of

  • Fully functional, deployable front-end prototype with meaningful visualizations.
  • Implemented an explainable logic for CBT suggestions.
  • Added extra polish: positive quotes, footer disclaimer, responsive layout.

What we learned

  • React + Tailwind allows rapid prototyping with clean design.
  • Even a simple mock AI function can provide engaging insights to users.
  • Data visualization greatly enhances user understanding of personal trends.
  • Mental health apps require careful wording to avoid giving false assurance.

What's next for MindTrack-X

  • Integrate real NLP sentiment analysis via HuggingFace or OpenAI API.
  • Add reminders and notifications for daily tracking.
  • Enable exporting mood/sleep data for personal reflection.
  • Incorporate more CBT exercises with personalized logic.
  • Explore light gamification to encourage daily journaling.
Share this project:

Updates