Inspiration

We were inspired by the daily struggle many people face when trying to understand and express their emotions. Journaling is a powerful tool for mental clarity, but sometimes it’s hard to find the right words or stay consistent. We wanted to build an AI-powered assistant that not only encourages daily journaling but also provides personalized insights, emotional analysis, and coaching—just like a supportive companion.

What it does

  • Allows users to write daily journal entries in a simple, distraction-free editor.
  • If a user feels stuck, the AI (powered by Gemini) analyzes the text, detects mood, and generates a relevant title, tags, and a short summary.
  • Entries are stored in a timeline and can be updated or deleted later.
  • A dashboard visualizes the user's emotional trend over the past 7 days through mood analytics.
  • An integrated AI Life Coach answers user questions about health, wellness, and productivity, offering guidance based on their mood.

How we built it

  • Used Next.js (App Router) for the frontend and backend in a full-stack setup.
  • Integrated MongoDB with Mongoose to store journal entries and user data.
  • Styled the UI using Tailwind CSS and shadcn/ui components for consistency and accessibility.
  • Integrated the Gemini API for AI-based mood detection, tagging, and smart summaries.
  • Implemented a chart using flex box and related properties to display mood analytics.
  • Authentication handled with NextAuth.js for secure user sessions.
  • Bolt.new’s hackathon tools helped us quickly scaffold and prototype our app, saving valuable development time and keeping us focused on innovation.

Challenges we ran into

  • Fine-tuning AI responses to ensure emotional tone and suggestions were accurate and helpful.
  • Designing a clean UI that feels both welcoming and functional for journaling.
  • Managing state between mood analytics and real-time journal updates.
  • Ensuring the app was both scalable and secure, especially when dealing with personal reflections.

Accomplishments that we're proud of

  • Built a fully functional full-stack application with both AI and analytics integrated.
  • Created a smooth journaling experience that responds intelligently to user emotion.
  • Visualized mood trends in a way that helps users understand themselves better.
  • Implemented a helpful AI Life Coach that adds real value to the user experience.

What we learned

  • How to build and deploy a full-stack AI-integrated app using Next.js and MongoDB.
  • Best practices for working with large language models (Gemini API) in a journaling context.
  • Building data visualizations and handling time-series emotional data effectively.
  • UX design tailored for reflection, wellness, and emotional support.

What's next for Mindful – AI-Powered Smart Journal & Life Coach

  • Adding natural language voice journaling using speech-to-text.
  • Allowing users to set mood-based goals and receive AI-powered weekly insights.
  • Deeper personalization in AI coach responses using user journaling history.
  • Notifications and gentle reminders to encourage daily writing habits.
  • Mobile app version for journaling on the go.

Built With

Share this project:

Updates