A comprehensive mental health platform that helps users track their emotional well-being through voice analysis, personalized recommendations, and community support. 💙
The project consists of two main components:
- 🎨 Frontend → React.js + Tailwind CSS
- ⚙️ Backend → Node.js + Express + MongoDB
- 🤖 AI Service → Python FastAPI with NLP + Audio Analysis
- 🎤 Voice-based Mood Check-ins → Speak about your mood & let AI analyze emotions
- 📝 Text-based Mood Check-ins → Journal your feelings in text form
- 🌿 Plant Growth Tracker → Gamified streak system where your plant grows with consistency
- 🎶 Personalized Recommendations → Tailored music, videos, activities & journal prompts
- 📊 Weekly Summaries → Downloadable PDF reports of mood patterns & insights
- 📓 Journal System → Keep track of your thoughts & feelings
- 🤝 Community Support → Connect with people who share similar experiences
- ⚛️ React.js
- 🎨 Tailwind CSS
- 🔗 Axios (API requests)
- 📊 Recharts (data visualization)
- 🎙️ Audio recording & playback
- 🟢 Node.js with Express
- 🗄️ MongoDB + Mongoose
- 🔐 JWT Authentication
- 📄 PDFKit (PDF generation)
- ⚡ Python FastAPI
- 🧠 Transformers (NLP & Sentiment Analysis)
- 🎵 Librosa (Audio feature extraction)
- 🗣️ Whisper (Speech-to-Text)
cd frontend npm install npm run dev
cd backend npm install
cd ai-service pip install -r requirements.txt uvicorn main:app --reload
- POST /api/auth/register → Register new user
- POST /api/auth/login → Login & get JWT
- GET /api/users/profile → Get profile
- PUT /api/users/profile → Update profile
- POST /api/mood/analyze-voice → Analyze voice 🎤
- POST /api/mood/analyze-text → Analyze text 📝
- POST /api/mood/check-in → Save mood check-in
- GET /api/mood/history → Get mood history
- GET /api/recommendations → Get recommendations
- POST /api/recommendations/feedback → Submit feedback
- PUT /api/recommendations/:id/complete → Mark completed
- GET /api/summaries → Get summaries
- POST /api/summaries/generate → Generate new summary
- GET /api/summaries/download/:filename → Download PDF
- GET /api/journal → Get journal entries
- POST /api/journal → Create journal entry
- GET /api/journal/:id → Get entry by ID
- PUT /api/journal/:id → Update entry
- DELETE /api/journal/:id → Delete entry
- GET /api/dashboard/stats → Dashboard statistics
- GET /api/community → Get all groups
- POST /api/community → Create group
- POST /api/community/:id/join → Join group
- POST /api/community/:id/leave → Leave group
- POST /api/community/:id/message → Post message
- GET /api/community/:id/messages → Get messages
- POST /analyze-voice → Analyze emotions from voice 🎤
- POST /analyze-text → Analyze emotions from text 📝
- POST /generate-recommendations → Get personalized recommendations 🎶
- POST /generate-summary → Generate weekly insights 📊
This project is licensed under the MIT License. ✅