Inspiration

As a student juggling academics, work, and life in a new country, I often found myself overwhelmed but unsure how to process those emotions. I wanted a journaling tool that didn’t just store my thoughts but helped me understand them. That’s how Empathy Journal was born. It's a mental wellness tool powered by AI, designed to gently nudge users toward self-reflection.


What it does

Empathy Journal is a journaling web app that lets users

  • Write their thoughts in a clean, distraction-free space
  • Choose to optionally analyze their entry using Google’s Gemini AI
  • Receive insights such as:
    • Emotional tone
    • Recurring themes
    • Summary and reflection prompts
  • Store entries securely in a Firebase database
  • Review past entries with or without AI insights

How I built it

  • Frontend: React + Tailwind CSS (built with Vite for speed and simplicity)
  • AI Integration: Used Google Gemini 1.5 Flash API to analyze journal entries
  • Serverless Backend: AWS Lambda function (via API Gateway) receives journal content, calls Gemini, and returns insight to the frontend.
  • Database: Firebase Firestore stores both raw journal entries and optional AI insights
  • Deployment: Vercel for frontend, Lambda for backend, fully serverless and scalable

Challenges I ran into

  • Getting Gemini API to return consistent emotional insights required prompt engineering
  • Debugging CORS errors between frontend ↔ Lambda ↔ Gemini
  • Designing a UI that feels gentle, safe, and calming, especially on a tight deadline
  • Making sure that insights don’t auto-save, allowing users to opt-in to AI only when they want

Accomplishments that we're proud of

  • Built a fully serverless AI-integrated journaling app from scratch
  • Successfully connected Google AI with AWS Lambda
  • Deployed and functional within 2 days with a simple UX and clear purpose
  • Created something that could genuinely help people take better care of their mental health

What I've learned

  • How to integrate Google Gemini API into real-world workflows
  • How to build and deploy AWS Lambda functions using API Gateway
  • Tailwind CSS tricks to make UI feel soft and comforting ✨
  • The importance of intentional UX when dealing with sensitive user content

What's next for Empathy Journal

  • Add emotion/mood tracking charts over time (using Chart.js)
  • Local-only AES encryption (so even we can't read user data)
  • Add offline mode + data export
  • Improve Gemini prompts to provide deeper emotional insights
  • Make it into a real product for students and digital nomads who journal regularly

Built With

Share this project:

Updates